|
8 | 8 | * ## EXAMPLES
|
9 | 9 | *
|
10 | 10 | * # Activate plugin
|
11 |
| - * $ wp plugin activate hello-dolly |
12 |
| - * Plugin 'hello-dolly' activated. |
| 11 | + * $ wp plugin activate hello |
| 12 | + * Plugin 'hello' activated. |
13 | 13 | * Success: Activated 1 of 1 plugins.
|
14 | 14 | *
|
15 | 15 | * # Deactivate plugin
|
16 |
| - * $ wp plugin deactivate hello-dolly |
17 |
| - * Plugin 'hello-dolly' deactivated. |
| 16 | + * $ wp plugin deactivate hello |
| 17 | + * Plugin 'hello' deactivated. |
18 | 18 | * Success: Deactivated 1 of 1 plugins.
|
19 | 19 | *
|
20 | 20 | * # Delete plugin
|
21 |
| - * $ wp plugin delete hello-dolly |
22 |
| - * Deleted 'hello-dolly' plugin. |
| 21 | + * $ wp plugin delete hello |
| 22 | + * Deleted 'hello' plugin. |
23 | 23 | * Success: Deleted 1 of 1 plugins.
|
24 | 24 | *
|
25 | 25 | * # Install the latest version from wordpress.org and activate
|
@@ -236,13 +236,13 @@ protected function get_all_items() {
|
236 | 236 | * ## EXAMPLES
|
237 | 237 | *
|
238 | 238 | * # Activate plugin
|
239 |
| - * $ wp plugin activate hello-dolly |
240 |
| - * Plugin 'hello-dolly' activated. |
| 239 | + * $ wp plugin activate hello |
| 240 | + * Plugin 'hello' activated. |
241 | 241 | * Success: Activated 1 of 1 plugins.
|
242 | 242 | *
|
243 | 243 | * # Activate plugin in entire multisite network
|
244 |
| - * $ wp plugin activate hello-dolly --network |
245 |
| - * Plugin 'hello-dolly' network activated. |
| 244 | + * $ wp plugin activate hello --network |
| 245 | + * Plugin 'hello' network activated. |
246 | 246 | * Success: Network activated 1 of 1 plugins.
|
247 | 247 | */
|
248 | 248 | public function activate( $args, $assoc_args = array() ) {
|
@@ -314,8 +314,8 @@ public function activate( $args, $assoc_args = array() ) {
|
314 | 314 | * ## EXAMPLES
|
315 | 315 | *
|
316 | 316 | * # Deactivate plugin
|
317 |
| - * $ wp plugin deactivate hello-dolly |
318 |
| - * Plugin 'hello-dolly' deactivated. |
| 317 | + * $ wp plugin deactivate hello |
| 318 | + * Plugin 'hello' deactivated. |
319 | 319 | * Success: Deactivated 1 of 1 plugins.
|
320 | 320 | */
|
321 | 321 | public function deactivate( $args, $assoc_args = array() ) {
|
@@ -801,7 +801,7 @@ public function uninstall( $args, $assoc_args = array() ) {
|
801 | 801 | * ## EXAMPLES
|
802 | 802 | *
|
803 | 803 | * # Check whether plugin is installed; exit status 0 if installed, otherwise 1
|
804 |
| - * $ wp plugin is-installed hello-dolly |
| 804 | + * $ wp plugin is-installed hello |
805 | 805 | * $ echo $?
|
806 | 806 | * 1
|
807 | 807 | *
|
|
0 commit comments