File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -2893,6 +2893,8 @@ wp post term add <id> <taxonomy> <term>... [--by=<field>]
2893
2893
2894
2894
Append the term to the existing set of terms on the object.
2895
2895
2896
+ ** OPTIONS**
2897
+
2896
2898
<id>
2897
2899
The ID of the object.
2898
2900
@@ -2921,6 +2923,8 @@ List all terms associated with an object.
2921
2923
wp post term list <id> <taxonomy>... [--field=<field>] [--fields=<fields>] [--format=<format>]
2922
2924
~~~
2923
2925
2926
+ ** OPTIONS**
2927
+
2924
2928
<id>
2925
2929
ID for the object.
2926
2930
@@ -3008,6 +3012,8 @@ wp post term set <id> <taxonomy> <term>... [--by=<field>]
3008
3012
3009
3013
Replaces existing terms on the object.
3010
3014
3015
+ ** OPTIONS**
3016
+
3011
3017
<id>
3012
3018
The ID of the object.
3013
3019
@@ -6326,6 +6332,8 @@ wp user term add <id> <taxonomy> <term>... [--by=<field>]
6326
6332
6327
6333
Append the term to the existing set of terms on the object.
6328
6334
6335
+ ** OPTIONS**
6336
+
6329
6337
<id>
6330
6338
The ID of the object.
6331
6339
@@ -6354,6 +6362,8 @@ List all terms associated with an object.
6354
6362
wp user term list <id> <taxonomy>... [--field=<field>] [--fields=<fields>] [--format=<format>]
6355
6363
~~~
6356
6364
6365
+ ** OPTIONS**
6366
+
6357
6367
<id>
6358
6368
ID for the object.
6359
6369
@@ -6441,6 +6451,8 @@ wp user term set <id> <taxonomy> <term>... [--by=<field>]
6441
6451
6442
6452
Replaces existing terms on the object.
6443
6453
6454
+ ** OPTIONS**
6455
+
6444
6456
<id>
6445
6457
The ID of the object.
6446
6458
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ abstract class CommandWithTerms extends WP_CLI_Command {
36
36
/**
37
37
* List all terms associated with an object.
38
38
*
39
+ * ## OPTIONS
40
+ *
39
41
* <id>
40
42
* : ID for the object.
41
43
*
@@ -204,6 +206,8 @@ public function remove( $args, $assoc_args ) {
204
206
*
205
207
* Append the term to the existing set of terms on the object.
206
208
*
209
+ * ## OPTIONS
210
+ *
207
211
* <id>
208
212
* : The ID of the object.
209
213
*
@@ -250,6 +254,8 @@ public function add( $args, $assoc_args ) {
250
254
*
251
255
* Replaces existing terms on the object.
252
256
*
257
+ * ## OPTIONS
258
+ *
253
259
* <id>
254
260
* : The ID of the object.
255
261
*
You can’t perform that action at this time.
0 commit comments