Schema Documentation
Taxonomy
Description
A taxonomy object
Fields
Field Name | Description |
---|---|
connectedContentTypes - TaxonomyToContentTypeConnection | List of Content Types associated with the Taxonomy |
Arguments
| |
description - String | Description of the taxonomy. This field is equivalent to WP_Taxonomy->description |
graphqlPluralName - String | The plural name of the post type within the GraphQL Schema. |
graphqlSingleName - String | The singular name of the post type within the GraphQL Schema. |
hierarchical - Boolean | Whether the taxonomy is hierarchical |
id - ID! | The globally unique identifier of the taxonomy object. |
isRestricted - Boolean | Whether the object is restricted from the current viewer |
label - String | Name of the taxonomy shown in the menu. Usually plural. |
name - String | The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label |
public - Boolean | Whether the taxonomy is publicly queryable |
restBase - String | Name of content type to diplay in REST API "wp/v2" namespace. |
restControllerClass - String | The REST Controller class assigned to handling this content type. |
showCloud - Boolean | Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud |
showInAdminColumn - Boolean | Whether to display a column for the taxonomy on its post type listing screens. |
showInGraphql - Boolean | Whether to add the post type to the GraphQL Schema. |
showInMenu - Boolean | Whether to show the taxonomy in the admin menu |
showInNavMenus - Boolean | Whether the taxonomy is available for selection in navigation menus. |
showInQuickEdit - Boolean | Whether to show the taxonomy in the quick/bulk edit panel. |
showInRest - Boolean | Whether to add the post type route in the REST API "wp/v2" namespace. |
showUi - Boolean | Whether to generate and allow a UI for managing terms in this taxonomy in the admin |
Example
{"connectedContentTypes":TaxonomyToContentTypeConnection,"description":"abc123","graphqlPluralName":"xyz789","graphqlSingleName":"xyz789","hierarchical":true,"id":"4","isRestricted":true,"label":"xyz789","name":"xyz789","public":false,"restBase":"abc123","restControllerClass":"abc123","showCloud":false,"showInAdminColumn":true,"showInGraphql":true,"showInMenu":false,"showInNavMenus":true,"showInQuickEdit":true,"showInRest":true,"showUi":true}