WordPress Developer Resources
Generate cache key.
Format response depending on field requested.
Filters the terms array before the query takes place.
Creates an array of term objects from an array of term IDs.
Generate the ORDER BY clause for an ‘orderby’ param that is potentially related to a meta query.
Parse an ‘order’ query variable and cast it to ASC or DESC as necessary.
Used internally to generate a SQL string related to the ‘search’ parameter.
Retrieves the query results.
Fires before terms are retrieved.
Parse and sanitize ‘orderby’ keys passed to the term query.
Class used for querying terms.
Parse arguments passed to the term query with default query parameters.
Fires after term query vars have been parsed.
Sets up the query and retrieves the results.
Filters the terms query default arguments.
Filters the terms query arguments.
Filters the ORDERBY clause of the terms query.
Filters the terms to exclude from the terms query.
Filters the fields to select in the terms query.
Filters the terms query SQL clauses.