Taxonomies
Edit
Topics
Schema
The schema defines all the fields that exist within a taxonomy record. Any response from these endpoints can be expected to contain the fields below unless the `_filter` query parameter is used or the schema field only appears in a specific context.
capabilities object |
All capabilities used by the taxonomy.
Read only Context: |
description string |
A human-readable description of the taxonomy.
Read only Context: |
hierarchical boolean |
Whether or not the taxonomy should have children.
Read only Context: |
labels object |
Human-readable labels for the taxonomy for various contexts.
Read only Context: |
name string |
The title for the taxonomy.
Read only Context: |
slug string |
An alphanumeric identifier for the taxonomy.
Read only Context: |
show_cloud boolean |
Whether or not the term cloud should be displayed.
Read only Context: |
types array |
Types associated with the taxonomy.
Read only Context: |
rest_base string |
REST base route for the taxonomy.
Read only Context: |
visibility object |
The visibility settings for the taxonomy.
Read only Context: |
Retrieve a Taxonomy
Definition & Example Request
GET /wp/v2/taxonomies
Query this endpoint to retrieve a specific taxonomy record.
$ curl https://example.com/wp-json/wp/v2/taxonomies
Retrieve a Taxonomy
Definition & Example Request
GET /wp/v2/taxonomies/<taxonomy>
Query this endpoint to retrieve a specific taxonomy record.
$ curl https://example.com/wp-json/wp/v2/taxonomies/<taxonomy>