Automatically converts images to WebP format upon upload.
Release tags are created with Semantic versioning in mind. Commit messages were following convention of Conventional Commits.
- WordPress version
>=4.7
. Tested and works fine up to6.4.3
. - PHP version
>=7.4.1
. Tested and works fine up to8.3.0
.
- Go to the latest release.
- Under Assets, click on the link named
Version x.y.z
. It's a compiled build. - Extract zip file and copy the folder into your
wp-content/plugins
folder and activate LEXO WebP Converter in plugins admin page. Alternatively, you can use downloaded zip file to install it directly from your plugin admin page.
Parameters
apply_filters('webpc/admin_localized_script', $args);
- $args (array) The array which will be used for localizing
webpcAdminLocalized
variable in the admin.
Parameters
apply_filters('webpc/enqueue/admin-webpc.js', $args);
- $args (bool) Printing of the file
admin-webpc.js
(script id iswebpc/admin-webpc.js-js
). It also affects printing of the localizedwebpcAdminLocalized
variable.
Parameters
apply_filters('webpc/enqueue/admin-webpc.css', $args);
- $args (bool) Printing of the file
admin-webpc.css
(stylesheet id iswebpc/admin-webpc.css-css
).
Parameters
apply_filters('webpc/options-page/capability', $args);
- $args (string) Change minimun user capability for settings page.
Parameters
apply_filters('webpc/options-page/parent-slug', $args);
- $args (string) Change parent slug for options page.
- Fires on LEXO WebP Converter init.
- Fires right before LEXO WebP Converter admin script has been enqueued.
Changelog can be seen on latest release.