Interface: TaxonomyArchiveParams
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:16
The endpoint params supported by TaxonomyTermsStrategy
Extends
Indexable
[k: string]: unknown
Properties
_embed?
optional_embed:boolean
Defined in: packages/core/src/data/strategies/AbstractFetchStrategy.ts:17
The _embed param returned associated entities in the response
It's recommended to avoid additional requests to fetch data
Inherited from
_fields?
optional_fields:string[]
Defined in: packages/core/src/data/strategies/AbstractFetchStrategy.ts:22
The _fields parameter is used to return only the specified fields in the response
Inherited from
exclude?
optionalexclude:number|number[]
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:49
Ensure result set excludes specific IDs.
hide_empty?
optionalhide_empty:string
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:76
Whether to hide terms not assigned to any posts.
include?
optionalinclude:number|number[]
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:44
Limit result set to specific IDs.
lang?
optionallang:string
Defined in: packages/core/src/data/strategies/AbstractFetchStrategy.ts:29
The polylang ?lang parameter.
This is only used if the polylang integration is enabled
Inherited from
optimizeYoastPayload?
optionaloptimizeYoastPayload:boolean
Defined in: packages/core/src/data/strategies/AbstractFetchStrategy.ts:36
The custom parameter to optimize the Yoast payload.
This is only used if the YoastSEO integration is enabled
Inherited from
EndpointParams.optimizeYoastPayload
order?
optionalorder:"desc"|"asc"
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:56
Order sort attribute ascending or descending.
Default
'asc'
orderby?
optionalorderby:"slug"|"id"|"name"|"description"|"count"|"include"|"include_slugs"|"term_group"
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:63
Sort collection by term attribute.
Default
'name'
page?
optionalpage:string
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:27
Current page of the collection.
Default
1
parent?
optionalparent:number
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:81
Limit result set to terms assigned to a specific parent.
per_page?
optionalper_page:string
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:34
Maximum number of items to be returned in result set.
Default
10
post?
optionalpost:number
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:86
Limit result set to terms assigned to a specific post.
search?
optionalsearch:string
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:39
Limit results to those matching a string
slug?
optionalslug:string|string[]
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:91
Limit result set to terms with one or more specific slugs.
taxonomy?
optionaltaxonomy:string
Defined in: packages/core/src/data/strategies/TaxonomyTermsStrategy.ts:20
The taxonomy the terms are to be fetched from.