@@ -3271,39 +3271,51 @@ wp site
3271
3271
Activates one or more sites.
3272
3272
3273
3273
~~~
3274
- wp site activate <id>...
3274
+ wp site activate [ <id>...] [--slug=<slug>]
3275
3275
~~~
3276
3276
3277
3277
** OPTIONS**
3278
3278
3279
- <id>...
3280
- One or more IDs of sites to activate.
3279
+ [<id>...]
3280
+ One or more IDs of sites to activate. If not provided, you must set the --slug parameter.
3281
+
3282
+ [--slug=<slug>]
3283
+ Path of the site to be activated. Subdomain on subdomain installs, directory on subdirectory installs.
3281
3284
3282
3285
** EXAMPLES**
3283
3286
3284
3287
$ wp site activate 123
3285
3288
Success: Site 123 activated.
3286
3289
3290
+ $ wp site activate --slug=demo
3291
+ Success: Site 123 marked as activated.
3292
+
3287
3293
3288
3294
3289
3295
### wp site archive
3290
3296
3291
3297
Archives one or more sites.
3292
3298
3293
3299
~~~
3294
- wp site archive <id>...
3300
+ wp site archive [ <id>...] [--slug=<slug>]
3295
3301
~~~
3296
3302
3297
3303
** OPTIONS**
3298
3304
3299
- <id>...
3300
- One or more IDs of sites to archive.
3305
+ [<id>...]
3306
+ One or more IDs of sites to archive. If not provided, you must set the --slug parameter.
3307
+
3308
+ [--slug=<slug>]
3309
+ Path of the site to archive. Subdomain on subdomain installs, directory on subdirectory installs.
3301
3310
3302
3311
** EXAMPLES**
3303
3312
3304
3313
$ wp site archive 123
3305
3314
Success: Site 123 archived.
3306
3315
3316
+ $ wp site archive --slug=demo
3317
+ Success: Site 123 archived.
3318
+
3307
3319
3308
3320
3309
3321
### wp site create
@@ -3346,19 +3358,25 @@ wp site create --slug=<slug> [--title=<title>] [--email=<email>] [--network_id=<
3346
3358
Deactivates one or more sites.
3347
3359
3348
3360
~~~
3349
- wp site deactivate <id>...
3361
+ wp site deactivate [ <id>...] [--slug=<slug>]
3350
3362
~~~
3351
3363
3352
3364
** OPTIONS**
3353
3365
3354
- <id>...
3355
- One or more IDs of sites to deactivate.
3366
+ [<id>...]
3367
+ One or more IDs of sites to deactivate. If not provided, you must set the --slug parameter.
3368
+
3369
+ [--slug=<slug>]
3370
+ Path of the site to be deactivated. Subdomain on subdomain installs, directory on subdirectory installs.
3356
3371
3357
3372
** EXAMPLES**
3358
3373
3359
3374
$ wp site deactivate 123
3360
3375
Success: Site 123 deactivated.
3361
3376
3377
+ $ wp site deactivate --slug=demo
3378
+ Success: Site 123 marked as deactivated.
3379
+
3362
3380
3363
3381
3364
3382
### wp site delete
@@ -3375,7 +3393,7 @@ wp site delete [<site-id>] [--slug=<slug>] [--yes] [--keep-tables]
3375
3393
The id of the site to delete. If not provided, you must set the --slug parameter.
3376
3394
3377
3395
[--slug=<slug>]
3378
- Path of the blog to be deleted. Subdomain on subdomain installs, directory on subdirectory installs.
3396
+ Path of the site to be deleted. Subdomain on subdomain installs, directory on subdirectory installs.
3379
3397
3380
3398
[--yes]
3381
3399
Answer yes to the confirmation message.
@@ -3508,19 +3526,25 @@ These fields are optionally available:
3508
3526
Sets one or more sites as mature.
3509
3527
3510
3528
~~~
3511
- wp site mature <id>...
3529
+ wp site mature [ <id>...] [--slug=<slug>]
3512
3530
~~~
3513
3531
3514
3532
** OPTIONS**
3515
3533
3516
- <id>...
3517
- One or more IDs of sites to set as mature.
3534
+ [<id>...]
3535
+ One or more IDs of sites to set as mature. If not provided, you must set the --slug parameter.
3536
+
3537
+ [--slug=<slug>]
3538
+ Path of the site to be set as mature. Subdomain on subdomain installs, directory on subdirectory installs.
3518
3539
3519
3540
** EXAMPLES**
3520
3541
3521
3542
$ wp site mature 123
3522
3543
Success: Site 123 marked as mature.
3523
3544
3545
+ $ wp site mature --slug=demo
3546
+ Success: Site 123 marked as mature.
3547
+
3524
3548
3525
3549
3526
3550
### wp site option
@@ -3558,53 +3582,68 @@ wp site option
3558
3582
Sets one or more sites as private.
3559
3583
3560
3584
~~~
3561
- wp site private <id>...
3585
+ wp site private [ <id>...] [--slug=<slug>]
3562
3586
~~~
3563
3587
3564
3588
** OPTIONS**
3565
3589
3566
- <id>...
3567
- One or more IDs of sites to set as private.
3590
+ [<id>...]
3591
+ One or more IDs of sites to set as private. If not provided, you must set the --slug parameter.
3592
+
3593
+ [--slug=<slug>]
3594
+ Path of the site to be set as private. Subdomain on subdomain installs, directory on subdirectory installs.
3568
3595
3569
3596
** EXAMPLES**
3570
3597
3571
3598
$ wp site private 123
3572
3599
Success: Site 123 marked as private.
3573
3600
3601
+ $ wp site private --slug=demo
3602
+ Success: Site 123 marked as private.
3603
+
3574
3604
3575
3605
3576
3606
### wp site public
3577
3607
3578
3608
Sets one or more sites as public.
3579
3609
3580
3610
~~~
3581
- wp site public <id>...
3611
+ wp site public [ <id>...] [--slug=<slug>]
3582
3612
~~~
3583
3613
3584
3614
** OPTIONS**
3585
3615
3586
- <id>...
3587
- One or more IDs of sites to set as public.
3616
+ [<id>...]
3617
+ One or more IDs of sites to set as public. If not provided, you must set the --slug parameter.
3618
+
3619
+ [--slug=<slug>]
3620
+ Path of the site to be set as public. Subdomain on subdomain installs, directory on subdirectory installs.
3588
3621
3589
3622
** EXAMPLES**
3590
3623
3591
3624
$ wp site public 123
3592
3625
Success: Site 123 marked as public.
3593
3626
3627
+ $ wp site public --slug=demo
3628
+ Success: Site 123 marked as public.
3629
+
3594
3630
3595
3631
3596
3632
### wp site spam
3597
3633
3598
3634
Marks one or more sites as spam.
3599
3635
3600
3636
~~~
3601
- wp site spam <id>...
3637
+ wp site spam [ <id>...] [--slug=<slug>]
3602
3638
~~~
3603
3639
3604
3640
** OPTIONS**
3605
3641
3606
- <id>...
3607
- One or more IDs of sites to be marked as spam.
3642
+ [<id>...]
3643
+ One or more IDs of sites to be marked as spam. If not provided, you must set the --slug parameter.
3644
+
3645
+ [--slug=<slug>]
3646
+ Path of the site to be marked as spam. Subdomain on subdomain installs, directory on subdirectory installs.
3608
3647
3609
3648
** EXAMPLES**
3610
3649
@@ -3618,37 +3657,49 @@ wp site spam <id>...
3618
3657
Unarchives one or more sites.
3619
3658
3620
3659
~~~
3621
- wp site unarchive <id>...
3660
+ wp site unarchive [ <id>...] [--slug=<slug>]
3622
3661
~~~
3623
3662
3624
3663
** OPTIONS**
3625
3664
3626
- <id>...
3627
- One or more IDs of sites to unarchive.
3665
+ [<id>...]
3666
+ One or more IDs of sites to unarchive. If not provided, you must set the --slug parameter.
3667
+
3668
+ [--slug=<slug>]
3669
+ Path of the site to unarchive. Subdomain on subdomain installs, directory on subdirectory installs.
3628
3670
3629
3671
** EXAMPLES**
3630
3672
3631
3673
$ wp site unarchive 123
3632
3674
Success: Site 123 unarchived.
3633
3675
3676
+ $ wp site unarchive --slug=demo
3677
+ Success: Site 123 unarchived.
3678
+
3634
3679
3635
3680
3636
3681
### wp site unmature
3637
3682
3638
3683
Sets one or more sites as immature.
3639
3684
3640
3685
~~~
3641
- wp site unmature <id>...
3686
+ wp site unmature [ <id>...] [--slug=<slug>]
3642
3687
~~~
3643
3688
3644
3689
** OPTIONS**
3645
3690
3646
- <id>...
3647
- One or more IDs of sites to set as unmature.
3691
+ [<id>...]
3692
+ One or more IDs of sites to set as unmature. If not provided, you must set the --slug parameter.
3693
+
3694
+ [--slug=<slug>]
3695
+ Path of the site to be set as unmature. Subdomain on subdomain installs, directory on subdirectory installs.
3648
3696
3649
3697
** EXAMPLES**
3650
3698
3651
- $ wp site general 123
3699
+ $ wp site unmature 123
3700
+ Success: Site 123 marked as unmature.
3701
+
3702
+ $ wp site unmature --slug=demo
3652
3703
Success: Site 123 marked as unmature.
3653
3704
3654
3705
@@ -3658,13 +3709,16 @@ wp site unmature <id>...
3658
3709
Removes one or more sites from spam.
3659
3710
3660
3711
~~~
3661
- wp site unspam <id>...
3712
+ wp site unspam [ <id>...] [--slug=<slug>]
3662
3713
~~~
3663
3714
3664
3715
** OPTIONS**
3665
3716
3666
- <id>...
3667
- One or more IDs of sites to remove from spam.
3717
+ [<id>...]
3718
+ One or more IDs of sites to remove from spam. If not provided, you must set the --slug parameter.
3719
+
3720
+ [--slug=<slug>]
3721
+ Path of the site to be removed from spam. Subdomain on subdomain installs, directory on subdirectory installs.
3668
3722
3669
3723
** EXAMPLES**
3670
3724
0 commit comments