Using WP-CLI
Using WP-CLI
WP-CLI is a set of command-line tools for managing WordPress installations. It's installed on all Nimbus Hosting servers by default and allows you to update, enable & disable plug-ins and themes without having to use a web browser so is particularly useful if you’re a WordPress developer.
To get started you'll need to connect to your server by SSH by following the steps in the below guide:
https://support.nimbushosting.co.uk/support/solutions/articles/36000079613-how-to-connect-via-ssh
Once connected you are ready to run wp-cli commands. Here are few example commands you can use to perform some basic WordPress tasks:
Show server info
wp --info
Show WordPress Version
wp core version
Show current plugins
wp plugin list
Deactivate Plugin
wp plugin deactivate pluginname
Show current installed theme + version
wp theme status
For a full list of commands please visit:
Updated 3 months ago