wp plugin activate

Activate a plugin.

GitHub Issues


One or more plugins to activate.
If set, all plugins will be activated.
If set, the plugin will be activated for the entire multisite network.


# Activate plugin
$ wp plugin activate hello
Plugin 'hello' activated.
Success: Activated 1 of 1 plugins.

# Activate plugin in entire multisite network
$ wp plugin activate hello --network
Plugin 'hello' network activated.
Success: Network activated 1 of 1 plugins.

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