You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5339,7 +5339,7 @@ These fields are optionally available:
5339
5339
Lists all sites in a multisite installation.
5340
5340
5341
5341
~~~
5342
-
wp site list [--network=<id>] [--<field>=<value>] [--site__in=<value>] [--site_user=<value>] [--field=<field>] [--fields=<fields>] [--format=<format>]
5342
+
wp site list [--network=<id>] [--<field>=<value>] [--site__in=<value>] [--site_user=<value>] [--site-path=<path>] [--field=<field>] [--fields=<fields>] [--format=<format>]
5343
5343
~~~
5344
5344
5345
5345
**OPTIONS**
@@ -5350,13 +5350,18 @@ wp site list [--network=<id>] [--<field>=<value>] [--site__in=<value>] [--site_u
5350
5350
[--<field>=<value>]
5351
5351
Filter by one or more fields (see "Available Fields" section). However,
5352
5352
'url' isn't an available filter, as it comes from 'home' in wp_options.
5353
+
Note: '--path' conflicts with the global parameter of the same name; use
5354
+
'--site-path' to filter by path instead.
5353
5355
5354
5356
[--site__in=<value>]
5355
5357
Only list the sites with these blog_id values (comma-separated).
5356
5358
5357
5359
[--site_user=<value>]
5358
5360
Only list the sites with this user.
5359
5361
5362
+
[--site-path=<path>]
5363
+
Filter by path. Avoids conflict with the global `--path` parameter.
5364
+
5360
5365
[--field=<field>]
5361
5366
Prints the value of a single field for each site.
5362
5367
@@ -7768,7 +7773,7 @@ Display WordPress users based on all arguments supported by
7768
7773
Control output by one or more arguments of WP_User_Query().
7769
7774
7770
7775
[--network]
7771
-
List all users in the network for multisite.
7776
+
List all users in the network for multisite. Roles are not included when using this flag, as users can have different roles on different sites in a multisite network.
0 commit comments