v1

latestOpenAPI 3.0.02026-08-0630844.5 KB

get/categories

Query parameters

pageinteger

The archive page to return

per_pageinteger

The number of event categories to return on each page

searchstring

Limit results to those matching a string

excludeinteger[]

Ensure result set exclude specific IDs

includeinteger[]

Limit result set to specific IDs

orderstring

Order sort attribute ascending or descending

orderbystring

Sort collection by term attribute

hide_emptyboolean

Whether to hide terms not assigned to any posts

parentinteger

Limit result set to terms assigned to a specific parent

postinteger

Limit result set to terms assigned to a specific post

eventinteger

Limit result set to terms assigned to a specific event (an alias of the "post" parameter)

slugstring

Limit result set to terms with a specific slug

Response

Returns all the event categories matching the search criteria

idinteger

The WordPress term ID

namestring

The term name

slugstring

The term slug

taxonomystring

The taxonomy the term belongs to

descriptionstring

The term description

parentinteger

The term parent term if any

countinteger

The number of posts associated with the term

urlstring

The URL to the term archive page

urlsstring[]

A list of links to the term own, archive and parent REST URL