Skip to main content

Interface: TaxonomyEntity

@headstartwp/core.TaxonomyEntity

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

Hierarchy

Properties

description

description: string

A human-readable description of the taxonomy.

Defined in

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


hierarchical

hierarchical: boolean

Whether or not the taxonomy should have children.

Defined in

packages/core/src/data/types/entities.ts:402


name

name: string

The title for the taxonomy.

Defined in

packages/core/src/data/types/entities.ts:407


rest_base

rest_base: string

REST base route for the taxonomy.

Defined in

packages/core/src/data/types/entities.ts:417


slug

slug: string

An alphanumeric identifier for the taxonomy.

Defined in

packages/core/src/data/types/entities.ts:412


types

types: string[]

Types associated with the taxonomy.

Defined in

packages/core/src/data/types/entities.ts:422


yoast_head

Optional yoast_head: null | string

Inherited from

Entity.yoast_head

Defined in

packages/core/src/data/types/entities.ts:14


yoast_head_json

Optional yoast_head_json: null | Record<string, any>

Inherited from

Entity.yoast_head_json

Defined in

packages/core/src/data/types/entities.ts:13