Answers for "wp cli command activate plugin"

PHP
0

wp cli command activate plugin

# 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.
Posted by: Guest on February-04-2021
1

wp cli plugin install

// --activate is optional
wp plugin install <PLUGIN-SLUG> --activate
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language