wp plugin activate

Activate a plugin.

GitHub Issues

OPTIONS

[<plugin>…]
One or more plugins to activate.
[--all]
If set, all plugins will be activated.
[--network]
If set, the plugin will be activated for the entire multisite network.

EXAMPLES

# 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.