How to use WP CLI for Imagify
Here is a short guide on how to use WP CLI for Imagify:
wp imagify bulk-optimize <contexts>... [--lossless]
Where contexts can be wp
and custom-folders
, you can use one or the other or both, separated by a space.
Adding the --lossless
option will use the lossless compression – `wp imagify generate-missing-webp <contexts>`
Same thing for the contexts.
You can type wp help imagify bulk-optimize
and wp help imagify generate-missing-webp
to get the info too on the command line.
Your feedback has been sent to our team We value every bit of feedback we receive as it helps us to improve our products and services. Thank you for your time.