Updating WordPress using WP-CLI

Categories: Administration, Wordpress

After installing wp-cli, you can use the following command to update your wordpress installation.

wp-cli core update

Then you can use this command to update the plugins. Be careful though, specially those using paid plugins, check licensing first before updating.

wp-cli plugin update --all

You can use this command to update the themes. Same for the plugin, be careful when using paid themes, check first licensing if you are allowed to update.

wp-cli theme update --all

«

    Leave a Reply

    Your email address will not be published. Required fields are marked *