Skip to main content

Interface: AuthorEntity

@headstartwp/core.AuthorEntity

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

Hierarchy

Properties

avatar_urls

Optional avatar_urls: AvatarUrls

Avatar URLs for the user.

Defined in

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


description

description: string

Description of the user.

Defined in

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


id

id: number

Unique identifier for the user.

Defined in

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


link: string

Author URL of the user.

Defined in

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


meta

meta: Record<string, unknown>

Meta fields.

Defined in

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


name

name: string

Display name for the user.

Defined in

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


slug

slug: string

An alphanumeric identifier for the user.

Defined in

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


url

url: string

URL of the user.

Defined in

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


yoast_head

Optional yoast_head: null | string

Overrides

Entity.yoast_head

Defined in

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


yoast_head_json

Optional yoast_head_json: null | Record<string, any>

Overrides

Entity.yoast_head_json

Defined in

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