@@ -1685,6 +1685,8 @@ Errors if the option already exists.
1685
1685
Should this option be automatically loaded.
1686
1686
---
1687
1687
options:
1688
+ - 'on'
1689
+ - 'off'
1688
1690
- 'yes'
1689
1691
- 'no'
1690
1692
---
@@ -1990,6 +1992,8 @@ wp option update <key> [<value>] [--autoload=<autoload>] [--format=<format>]
1990
1992
Requires WP 4.2. Should this option be automatically loaded.
1991
1993
---
1992
1994
options:
1995
+ - 'on'
1996
+ - 'off'
1993
1997
- 'yes'
1994
1998
- 'no'
1995
1999
---
@@ -2053,6 +2057,8 @@ wp option set-autoload <key> <autoload>
2053
2057
Should this option be automatically loaded.
2054
2058
---
2055
2059
options:
2060
+ - 'on'
2061
+ - 'off'
2056
2062
- 'yes'
2057
2063
- 'no'
2058
2064
---
@@ -6294,6 +6300,196 @@ wp user set-role <user> [<role>]
6294
6300
6295
6301
6296
6302
6303
+ ### wp user signup
6304
+
6305
+ Manages signups on a multisite installation.
6306
+
6307
+ ~~~
6308
+ wp user signup
6309
+ ~~~
6310
+
6311
+ ** EXAMPLES**
6312
+
6313
+ # List signups.
6314
+ $ wp user signup list
6315
+ +-----------+------------+---------------------+---------------------+--------+------------------+
6316
+ | signup_id | user_login | user_email | registered | active | activation_key |
6317
+ +-----------+------------+---------------------+---------------------+--------+------------------+
6318
+ | 1 | bobuser | [email protected] | 2024-03-13 05:46:53 | 1 | 7320b2f009266618 |
6319
+ | 2 | johndoe | [email protected] | 2024-03-13 06:24:44 | 0 | 9068d859186cd0b5 |
6320
+ +-----------+------------+---------------------+---------------------+--------+------------------+
6321
+
6322
+ # Activate signup.
6323
+ $ wp user signup activate 2
6324
+ Signup 2 activated. Password: bZFSGsfzb9xs
6325
+ Success: Activated 1 of 1 signups.
6326
+
6327
+ # Delete signup.
6328
+ $ wp user signup delete 3
6329
+ Signup 3 deleted.
6330
+ Success: Deleted 1 of 1 signups.
6331
+
6332
+
6333
+
6334
+
6335
+
6336
+ ### wp user signup activate
6337
+
6338
+ Activates one or more signups.
6339
+
6340
+ ~~~
6341
+ wp user signup activate <signup>...
6342
+ ~~~
6343
+
6344
+ ** OPTIONS**
6345
+
6346
+ <signup>...
6347
+ The signup ID, user login, user email, or activation key of the signup(s) to activate.
6348
+
6349
+ ** EXAMPLES**
6350
+
6351
+ # Activate signup.
6352
+ $ wp user signup activate 2
6353
+ Signup 2 activated. Password: bZFSGsfzb9xs
6354
+ Success: Activated 1 of 1 signups.
6355
+
6356
+
6357
+
6358
+ ### wp user signup delete
6359
+
6360
+ Deletes one or more signups.
6361
+
6362
+ ~~~
6363
+ wp user signup delete [<signup>...] [--all]
6364
+ ~~~
6365
+
6366
+ ** OPTIONS**
6367
+
6368
+ [<signup>...]
6369
+ The signup ID, user login, user email, or activation key of the signup(s) to delete.
6370
+
6371
+ [--all]
6372
+ If set, all signups will be deleted.
6373
+
6374
+ ** EXAMPLES**
6375
+
6376
+ # Delete signup.
6377
+ $ wp user signup delete 3
6378
+ Signup 3 deleted.
6379
+ Success: Deleted 1 of 1 signups.
6380
+
6381
+
6382
+
6383
+ ### wp user signup get
6384
+
6385
+ Gets details about a signup.
6386
+
6387
+ ~~~
6388
+ wp user signup get <signup> [--field=<field>] [--fields=<fields>] [--format=<format>]
6389
+ ~~~
6390
+
6391
+ ** OPTIONS**
6392
+
6393
+ <signup>
6394
+ The signup ID, user login, user email, or activation key.
6395
+
6396
+ [--field=<field>]
6397
+ Instead of returning the whole signup, returns the value of a single field.
6398
+
6399
+ [--fields=<fields>]
6400
+ Limit the output to specific fields. Defaults to all fields.
6401
+
6402
+ [--format=<format>]
6403
+ Render output in a particular format.
6404
+ ---
6405
+ default: table
6406
+ options:
6407
+ - table
6408
+ - csv
6409
+ - json
6410
+ - yaml
6411
+ ---
6412
+
6413
+ ** EXAMPLES**
6414
+
6415
+ # Get signup.
6416
+ $ wp user signup get 1 --field=user_login
6417
+ bobuser
6418
+
6419
+ # Get signup and export to JSON file.
6420
+ $ wp user signup get bobuser --format=json > bobuser.json
6421
+
6422
+
6423
+
6424
+ ### wp user signup list
6425
+
6426
+ Lists signups.
6427
+
6428
+ ~~~
6429
+ wp user signup list [--<field>=<value>] [--field=<field>] [--fields=<fields>] [--format=<format>] [--per_page=<per_page>]
6430
+ ~~~
6431
+
6432
+ [--<field>=<value>]
6433
+ Filter the list by a specific field.
6434
+
6435
+ [--field=<field>]
6436
+ Prints the value of a single field for each signup.
6437
+
6438
+ [--fields=<fields>]
6439
+ Limit the output to specific object fields.
6440
+
6441
+ [--format=<format>]
6442
+ Render output in a particular format.
6443
+ ---
6444
+ default: table
6445
+ options:
6446
+ - table
6447
+ - csv
6448
+ - ids
6449
+ - json
6450
+ - count
6451
+ - yaml
6452
+ ---
6453
+
6454
+ [--per_page=<per_page>]
6455
+ Limits the signups to the given number. Defaults to none.
6456
+
6457
+ ** AVAILABLE FIELDS**
6458
+
6459
+ These fields will be displayed by default for each signup:
6460
+
6461
+ * signup_id
6462
+ * user_login
6463
+ * user_email
6464
+ * registered
6465
+ * active
6466
+ * activation_key
6467
+
6468
+ These fields are optionally available:
6469
+
6470
+ * domain
6471
+ * path
6472
+ * title
6473
+ * activated
6474
+ * meta
6475
+
6476
+ ** EXAMPLES**
6477
+
6478
+ # List signup IDs.
6479
+ $ wp user signup list --field=signup_id
6480
+ 1
6481
+
6482
+ # List all signups.
6483
+ $ wp user signup list
6484
+ +-----------+------------+---------------------+---------------------+--------+------------------+
6485
+ | signup_id | user_login | user_email | registered | active | activation_key |
6486
+ +-----------+------------+---------------------+---------------------+--------+------------------+
6487
+ | 1 | bobuser | [email protected] | 2024-03-13 05:46:53 | 1 | 7320b2f009266618 |
6488
+ | 2 | johndoe | [email protected] | 2024-03-13 06:24:44 | 0 | 9068d859186cd0b5 |
6489
+ +-----------+------------+---------------------+---------------------+--------+------------------+
6490
+
6491
+
6492
+
6297
6493
### wp user spam
6298
6494
6299
6495
Marks one or more users as spam on multisite.
0 commit comments