Skip to main content

Interface: SearchEntity

@headstartwp/core.SearchEntity

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

Hierarchy

Properties

searchedValue

searchedValue: string

Defined in

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


subtype

subtype: string | string[]

Subtype of Search for the object.

Defined in

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


type

type: string

Type of Search for the object.

Defined in

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


yoast_head

Optional yoast_head: null | string

Inherited from

Entity.yoast_head

Defined in

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


yoast_head_json

Optional yoast_head_json: null | Record<string, any>

Inherited from

Entity.yoast_head_json

Defined in

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