CiviCRM/WordPress: Difference between revisions

No edit summary
No edit summary
Line 77: Line 77:


=== Using WP-CLI to upgrade plugins ===
=== Using WP-CLI to upgrade plugins ===
# go to the document root
# go to the document root <pre>cd /var/www/html</pre>
cd /var/www/html
# update all the plugins with wp-cli <pre>sudo -u www-data wp plugin update --all</pre>
# update all the plugins with wp-cli
sudo -u www-data wp plugin update --all


=== Using WP-CLI to upgrade CiviCRM ===
=== Using WP-CLI to upgrade CiviCRM ===