Interface: PageEntity
Defined in: packages/core/src/data/types/entities.ts:204
Interface for entities from the /wp/v2/pages endpoint.
Extends
Indexable
[k: string]: unknown
Properties
_embedded
_embedded:
object
Defined in: packages/core/src/data/types/entities.ts:105
author
author:
AuthorEntity[]
wp:term
wp:term:
TermEntity[][]
Inherited from
author?
optionalauthor:AuthorEntity[]
Defined in: packages/core/src/data/types/entities.ts:101
Inherited from
comment_status?
optionalcomment_status:"open"|"closed"
Defined in: packages/core/src/data/types/entities.ts:113
Whether or not comments are open on the object.
Inherited from
content
content:
RenderedWithBlockStyles
Defined in: packages/core/src/data/types/entities.ts:213
The content for the object.
date
date:
string
Defined in: packages/core/src/data/types/entities.ts:49
The date the object was published, in the site's timezone.
Inherited from
date_gmt
date_gmt:
string
Defined in: packages/core/src/data/types/entities.ts:54
The date the object was published, as GMT.
Inherited from
excerpt
excerpt:
Rendered
Defined in: packages/core/src/data/types/entities.ts:218
The excerpt for the object.
featured_media
featured_media:
number
Defined in: packages/core/src/data/types/entities.ts:238
The ID of the featured media for the object.
guid
guid:
Rendered
Defined in: packages/core/src/data/types/entities.ts:59
The globally unique identifier for the object.
Inherited from
id
id:
number
Defined in: packages/core/src/data/types/entities.ts:74
Unique identifier for the object.
Inherited from
link
link:
string
Defined in: packages/core/src/data/types/entities.ts:79
URL to the object.
Inherited from
menu_order
menu_order:
number
Defined in: packages/core/src/data/types/entities.ts:223
The order of the object in relation to other object of its type.
meta
meta:
Record<string,unknown>
Defined in: packages/core/src/data/types/entities.ts:228
Meta fields.
modified
modified:
string
Defined in: packages/core/src/data/types/entities.ts:64
The date the object was last modified, in the site's timezone.
Inherited from
modified_gmt
modified_gmt:
string
Defined in: packages/core/src/data/types/entities.ts:69
The date the object was last modified, as GMT.
Inherited from
parent
parent:
number
Defined in: packages/core/src/data/types/entities.ts:208
The ID for the parent of the object.
ping_status
ping_status:
"open"|"closed"
Defined in: packages/core/src/data/types/entities.ts:118
Whether or not the object can be pinged.
Inherited from
slug
slug:
string
Defined in: packages/core/src/data/types/entities.ts:84
An alphanumeric identifier for the object unique to its type.
Inherited from
status
status:
"publish"|"future"|"draft"|"pending"|"private"
Defined in: packages/core/src/data/types/entities.ts:89
A named status for the object.
Inherited from
template
template:
string
Defined in: packages/core/src/data/types/entities.ts:233
The theme file to use to display the object.
terms?
optionalterms:Record<string,TermEntity[]>
Defined in: packages/core/src/data/types/entities.ts:103
Inherited from
title
title:
Rendered
Defined in: packages/core/src/data/types/entities.ts:99
The title for the object.
Inherited from
type
type:
string
Defined in: packages/core/src/data/types/entities.ts:94
Type of Post for the object.
Inherited from
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