Skip to content

Commit de83218

Browse files
committed
List wp network in readme
1 parent 3bf4015 commit de83218

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,8 @@ Update a meta field.
660660
wp comment meta update <id> <key> [<value>] [--format=<format>]
661661
~~~
662662

663+
**Alias:** `set`
664+
663665
**OPTIONS**
664666

665667
<id>
@@ -1411,6 +1413,24 @@ wp menu location remove <menu> <location>
14111413

14121414

14131415

1416+
### wp network
1417+
1418+
Perform network-wide operations.
1419+
1420+
~~~
1421+
wp network
1422+
~~~
1423+
1424+
**EXAMPLES**
1425+
1426+
# Get a list of super-admins
1427+
$ wp network meta get 1 site_admins
1428+
array (
1429+
0 => 'supervisor',
1430+
)
1431+
1432+
1433+
14141434
### wp network meta
14151435

14161436
Gets, adds, updates, deletes, and lists network custom fields.
@@ -1649,6 +1669,8 @@ Update a meta field.
16491669
wp network meta update <id> <key> [<value>] [--format=<format>]
16501670
~~~
16511671

1672+
**Alias:** `set`
1673+
16521674
**OPTIONS**
16531675

16541676
<id>
@@ -2027,6 +2049,8 @@ Updates an option value.
20272049
wp option update <key> [<value>] [--autoload=<autoload>] [--format=<format>]
20282050
~~~
20292051

2052+
**Alias:** `set`
2053+
20302054
**OPTIONS**
20312055

20322056
<key>
@@ -2899,6 +2923,8 @@ Update a meta field.
28992923
wp post meta update <id> <key> [<value>] [--format=<format>]
29002924
~~~
29012925

2926+
**Alias:** `set`
2927+
29022928
**OPTIONS**
29032929

29042930
<id>
@@ -4942,6 +4968,8 @@ Update a meta field.
49424968
wp site meta update <id> <key> [<value>] [--format=<format>]
49434969
~~~
49444970

4971+
**Alias:** `set`
4972+
49454973
**OPTIONS**
49464974

49474975
<id>
@@ -5859,6 +5887,8 @@ Update a meta field.
58595887
wp term meta update <id> <key> [<value>] [--format=<format>]
58605888
~~~
58615889

5890+
**Alias:** `set`
5891+
58625892
**OPTIONS**
58635893

58645894
<id>
@@ -7059,6 +7089,8 @@ Updates a meta field.
70597089
wp user meta update <user> <key> <value> [--format=<format>]
70607090
~~~
70617091

7092+
**Alias:** `set`
7093+
70627094
**OPTIONS**
70637095

70647096
<user>

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"menu location assign",
7979
"menu location list",
8080
"menu location remove",
81+
"network",
8182
"network meta",
8283
"network meta add",
8384
"network meta delete",

0 commit comments

Comments
 (0)