How to bulk optimise images on a WordPress Multisite Network using Smush

wp site list --field=url | xargs -n1 -I % wp --url=% smush compress

Share:

  • WP-CLI
  • 0 Users Found This Useful
Was this answer helpful?

Couldn't find what you are looking for?


Related Articles

How to change the WordPress Administration Email Address using WP-CLI?

What is the "Administration Email Address"? The Admin email address for your WordPress is...

How to install WP-CLI on a cPanel server with autocomplete

# curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar # chmod +x...