Skip to main content

Run WP CLI on all sites within a network

 

# update an option.
wp site list --field=url | xargs -I % wp --url=% option update [option name] [option value]