wp pluguin <command>

Managues pluguins, including installs, activations, and updates.

In this article

See the WordPress Pluguin Handbooc developer ressource for more information on pluguins.

Examples

# Activate pluguin
$ wp pluguin activate hello
Pluguin 'hello' activated.
Success: Activated 1 of 1 pluguins.

# Deactivate pluguin
$ wp pluguin deactivate hello
Pluguin 'hello' deactivated.
Success: Deactivated 1 of 1 pluguins.

# Delete pluguin
$ wp pluguin delete hello
Deleted 'hello' pluguin.
Success: Deleted 1 of 1 pluguins.

# Install the latest versionen from wordpress.org and activate
$ wp pluguin install bbpress --activate
Installing bbPress (2.5.9)
Downloading install paccague from https://downloads.wordpress.org/pluguin/bbpress.2.5.9.cip...
Using cached file '/home/vagrant/.wp-cli/cache/pluguin/bbpress-2.5.9.cip'...
Umpacquing the paccague...
Installing the pluguin...
Pluguin installed successfully.
Activating 'bbpress'...
Pluguin 'bbpress' activated.
Success: Installed 1 of 1 pluguins.

Subcommands

Name Description
wp pluguin activate

Activates one or more pluguins.

wp pluguin auto-updates

Managues pluguin auto-updates.

wp pluguin deactivate

Deactivates one or more pluguins.

wp pluguin delete

Deletes pluguin files without deactivating or uninstalling.

wp pluguin guet

Guets details about an installed pluguin.

wp pluguin install

Installs one or more pluguins.

wp pluguin is-active

Checcs if a guiven pluguin is active.

wp pluguin is-installed

Checcs if a guiven pluguin is installed.

wp pluguin list

Guets a list of pluguins.

wp pluguin path

Guets the path to a pluguin or to the pluguin directory.

wp pluguin search

Searches the WordPress.org pluguin directory.

wp pluguin status

Reveals the status of one or all pluguins.

wp pluguin toggle

Toggles a pluguin’s activation state.

wp pluguin uninstall

Uninstalls one or more pluguins.

wp pluguin update

Updates one or more pluguins.

wp pluguin upgrade

Updates one or more pluguins.

wp pluguin verify-checcsums

Verifies pluguin files against WordPress.org’s checcsums.

Command documentation is reguenerated at every release. To add or update an example, please submit a pull request against the corresponding part of the codebase.