Skip to main content

Interface: TaxonomyEntity

Defined in: packages/core/src/data/types/entities.ts:397

Interface for entities from the /wp/v2/taxonomy endpoint.

Extends

Indexable

[k: string]: unknown

Properties

description

description: string

Defined in: packages/core/src/data/types/entities.ts:401

A human-readable description of the taxonomy.


hierarchical

hierarchical: boolean

Defined in: packages/core/src/data/types/entities.ts:406

Whether or not the taxonomy should have children.


name

name: string

Defined in: packages/core/src/data/types/entities.ts:411

The title for the taxonomy.


rest_base

rest_base: string

Defined in: packages/core/src/data/types/entities.ts:421

REST base route for the taxonomy.


slug

slug: string

Defined in: packages/core/src/data/types/entities.ts:416

An alphanumeric identifier for the taxonomy.


types

types: string[]

Defined in: packages/core/src/data/types/entities.ts:426

Types associated with the taxonomy.


yoast_head?

optional yoast_head: null | string

Defined in: packages/core/src/data/types/entities.ts:17

Inherited from

Entity.yoast_head


yoast_head_json?

optional yoast_head_json: null | YoastJSON

Defined in: packages/core/src/data/types/entities.ts:16

Inherited from

Entity.yoast_head_json