Interface: TypeEntity
@headstartwp/core.TypeEntity
Interface for entities from the /wp/v2/types endpoint.
Hierarchy
↳
TypeEntity
Properties
description
• Optional
description: string
A human-readable description of the post type.
Defined in
packages/core/src/data/types/entities.ts:362
hierarchical
• Optional
hierarchical: boolean
Whether or not the post type should have children.
Defined in
packages/core/src/data/types/entities.ts:367
name
• Optional
name: string
The title for the post type.
Defined in
packages/core/src/data/types/entities.ts:372
rest_base
• rest_base: string
REST base route for the post type.
Defined in
packages/core/src/data/types/entities.ts:382
slug
• Optional
slug: string
An alphanumeric identifier for the post type.
Defined in
packages/core/src/data/types/entities.ts:377
taxonomies
• taxonomies: string
[]
Taxonomies associated with post type.
Defined in
packages/core/src/data/types/entities.ts:387
yoast_head
• Optional
yoast_head: null
| string
Inherited from
Defined in
packages/core/src/data/types/entities.ts:14
yoast_head_json
• Optional
yoast_head_json: null
| Record
<string
, any
>