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]

Revision #2
Created Tue, Apr 14, 2020 2:32 PM by Sander
Updated Tue, Apr 14, 2020 2:37 PM by Sander