The page data type.

Since

3.0.0 PageDataType

interface PageDataType {
    _embedded: {
        author: UserDataType[];
        wp:featuredmedia: MediaType[];
        wp:term: TermType[];
    };
    acf: object[];
    author: number;
    comment_status: string;
    content: {
        protected: boolean;
        rendered: string;
    };
    date: string;
    date_gmt: string;
    excerpt: {
        protected: boolean;
        rendered: string;
    };
    featured_media: number;
    guid: {
        rendered: string;
    };
    id: number;
    link: string;
    menu_order: number;
    meta: object[];
    modified: string;
    modified_gmt: string;
    parent: number;
    ping_status: string;
    slug: string;
    status: string;
    tags: number[];
    template: string;
    title: {
        rendered: string;
    };
    type: string;
}

Properties

_embedded: {
    author: UserDataType[];
    wp:featuredmedia: MediaType[];
    wp:term: TermType[];
}

The _embedded.

Type declaration

Since

3.0.0

acf: object[]

The acf.

Since

3.0.0

author: number

The author.

Since

3.0.0

comment_status: string

The comment status.

Since

3.0.0

content: {
    protected: boolean;
    rendered: string;
}

The content.

Type declaration

  • protected: boolean

    The protected content.

    Since

    3.0.0

  • rendered: string

    The rendered content.

    Since

    3.0.0

Since

3.0.0

date: string

The date.

Since

3.0.0

date_gmt: string

The date gmt.

Since

3.0.0

excerpt: {
    protected: boolean;
    rendered: string;
}

The excerpt.

Type declaration

  • protected: boolean

    The protected excerpt.

    Since

    3.0.0

  • rendered: string

    The rendered excerpt.

    Since

    3.0.0

Since

3.0.0

featured_media: number

The featured media.

Since

3.0.0

guid: {
    rendered: string;
}

The guid.

Type declaration

  • rendered: string

    The rendered guid.

    Since

    3.0.0

Since

3.0.0

id: number

The ID.

Since

3.0.0

link: string

The link.

Since

3.0.0

menu_order: number

The menu order.

Since

3.0.0

meta: object[]

The meta.

Since

3.0.0

modified: string

The modified.

Since

3.0.0

modified_gmt: string

The modified gmt.

Since

3.0.0

parent: number

The parent.

Since

3.0.0

ping_status: string

The ping status.

Since

3.0.0

slug: string

The slug.

Since

3.0.0

status: string

The status.

Since

3.0.0

tags: number[]

The tags.

Since

3.0.0

template: string

The template.

Since

3.0.0

title: {
    rendered: string;
}

The title.

Type declaration

  • rendered: string

    The rendered title.

    Since

    3.0.0

Since

3.0.0

type: string

The type.

Since

3.0.0

Generated using TypeDoc