Interface: TypeEntity
Defined in: packages/core/src/data/types/entities.ts:362
Interface for entities from the /wp/v2/types endpoint.
Extends
Indexable
[k: string]: unknown
Properties
description?
optionaldescription:string
Defined in: packages/core/src/data/types/entities.ts:366
A human-readable description of the post type.
hierarchical?
optionalhierarchical:boolean
Defined in: packages/core/src/data/types/entities.ts:371
Whether or not the post type should have children.
name?
optionalname:string
Defined in: packages/core/src/data/types/entities.ts:376
The title for the post type.
rest_base
rest_base:
string
Defined in: packages/core/src/data/types/entities.ts:386
REST base route for the post type.
slug?
optionalslug:string
Defined in: packages/core/src/data/types/entities.ts:381
An alphanumeric identifier for the post type.
taxonomies
taxonomies:
string[]
Defined in: packages/core/src/data/types/entities.ts:391
Taxonomies associated with post type.
yoast_head?
optionalyoast_head:null|string
Defined in: packages/core/src/data/types/entities.ts:17
Inherited from
yoast_head_json?
optionalyoast_head_json:null|YoastJSON
Defined in: packages/core/src/data/types/entities.ts:16