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
+34-3Lines changed: 34 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,8 @@ Lists, creates, assigns, and deletes the active theme's navigation menus.
78
78
wp menu
79
79
~~~
80
80
81
+
See the [Navigation Menus](https://developer.wordpress.org/themes/functionality/navigation-menus/) reference in the Theme Handbook.
82
+
81
83
**EXAMPLES**
82
84
83
85
# Create a new menu
@@ -188,6 +190,8 @@ Retrieves and sets site options, including plugin and WordPress settings.
188
190
wp option
189
191
~~~
190
192
193
+
See the [Plugin Settings API](https://developer.wordpress.org/plugins/settings/settings-api/) and the [Theme Options](https://developer.wordpress.org/themes/customize-api/) for more information on adding customized options.
194
+
191
195
**EXAMPLES**
192
196
193
197
# Get site URL.
@@ -324,7 +328,7 @@ wp option get <key> [--format=<format>]
324
328
List options and their values.
325
329
326
330
~~~
327
-
wp option list [--search=<pattern>] [--exclude=<pattern>] [--autoload=<value>] [--transients] [--field=<field>] [--fields=<fields>] [--format=<format>]
This field will be displayed by default for each matching option:
@@ -543,12 +566,14 @@ wp post term
543
566
544
567
### wp post-type
545
568
546
-
Retrieves details on the site's registered post-types.
569
+
Retrieves details on the site's registered posttypes.
547
570
548
571
~~~
549
572
wp post-type
550
573
~~~
551
574
575
+
Get information on WordPress' built-in and the site's [custom post types](https://developer.wordpress.org/plugins/post-types/).
576
+
552
577
**EXAMPLES**
553
578
554
579
# Get details about a post type
@@ -645,6 +670,8 @@ Retrieves information about registered taxonomies.
645
670
wp taxonomy
646
671
~~~
647
672
673
+
See references for [built-in taxonomies](https://developer.wordpress.org/themes/basics/categories-tags-custom-taxonomies/) and [custom taxonomies](https://developer.wordpress.org/plugins/taxonomies/working-with-custom-taxonomies/).
674
+
648
675
**EXAMPLES**
649
676
650
677
# List all taxonomies with 'post' object type.
@@ -665,12 +692,14 @@ wp taxonomy
665
692
666
693
### wp term
667
694
668
-
Manages taxonomy terms and term meta, including create, delete, and list.
695
+
Manages taxonomy terms and term meta, with create, delete, and list commands.
669
696
670
697
~~~
671
698
wp term
672
699
~~~
673
700
701
+
See reference for [taxonomies and their terms](https://codex.wordpress.org/Taxonomies).
702
+
674
703
**EXAMPLES**
675
704
676
705
# Create a new term.
@@ -738,6 +767,8 @@ Manages users, along with their roles, capabilities, and meta.
738
767
wp user
739
768
~~~
740
769
770
+
See references for [Roles and Capabilities](https://codex.wordpress.org/Roles_and_Capabilities) and [WP User class](https://codex.wordpress.org/Class_Reference/WP_User).
0 commit comments