@@ -1685,6 +1685,8 @@ Errors if the option already exists.
16851685 Should this option be automatically loaded.
16861686 ---
16871687 options:
1688+ - 'on'
1689+ - 'off'
16881690 - 'yes'
16891691 - 'no'
16901692 ---
@@ -1990,6 +1992,8 @@ wp option update <key> [<value>] [--autoload=<autoload>] [--format=<format>]
19901992 Requires WP 4.2. Should this option be automatically loaded.
19911993 ---
19921994 options:
1995+ - 'on'
1996+ - 'off'
19931997 - 'yes'
19941998 - 'no'
19951999 ---
@@ -2053,6 +2057,8 @@ wp option set-autoload <key> <autoload>
20532057 Should this option be automatically loaded.
20542058 ---
20552059 options:
2060+ - 'on'
2061+ - 'off'
20562062 - 'yes'
20572063 - 'no'
20582064 ---
@@ -6294,6 +6300,196 @@ wp user set-role <user> [<role>]
62946300
62956301
62966302
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+
62976493### wp user spam
62986494
62996495Marks one or more users as spam on multisite.
0 commit comments