We'll also look at how to install plugins from sources other than WordPress Plugin Directory. wp plugin install followed by the plugin's official slug to install the latest version wp plugin install Installing Hello Dolly Downloading installation package from https downloads wordpress org plugin hello-dolly.1.7.2.zip. By two parameters and their values, The slug is in URL in WordPress Plugin Directory, and you can speed up your workflow by sticking with the command line and using the subcommand, followed --fields=name, slug parameter tells WP- CLI how many results to, in this case just one. I've given it value of here in this case the plugin's name and slug. There's wide range of values you can use here, including to see the number, and to see the plugin's ratings as both percentage and the number of ratings. By supplying credentials via request parameters or on server with self, This also works perhaps only accessible-signed certificate # Get the plugin from URL wp plugin install http www hellfish media my-plugin zip # or even private file from Amazon bucket wp plugin install https s3.amazonaws com bucketname my-plugin zip. One difference between doing this via the command line and the browser is that WP- CLI will let you remove plugin running the deactivation hooks first. you know why this can be so useful # Deactivate and uninstall wp plugin deactivate --uninstall # Remove plugin without giving it chance to deactivate wp plugin delete hello-dolly. WP- CLI has the ability to compare the checksums of your installed plugins with the checksums for the same plugin and version on WordPress Plugin Directory. The subcommand that handles this hash-checking magic is called verify-checksums and it's the same as asking are my plugins unchanged since I got them from WordPress Plugin Directory.. # Check for single plugin wp plugin verify-checksums hello-dolly Success Verified of 1 plugins # Check for all plugins that comes from the repo wp plugin verify-checksums --all. For all of you that are determined to make using WP hard to use, I am developing plugin that will allow you to enter all of your WP commands using ONLY 1's and order to create ASCII characters.
Read more