Creates an array of term objects from an array of term IDs.
WP_Term_Query::get_search_sql
Used internally to generate a SQL string related to the ‘search’ parameter.
WP_Term_Query::parse_order
Parse an ‘order’ query variable and cast it to ASC or DESC as necessary.
WP_Term_Query::parse_orderby_meta
Generate the ORDER BY clause for an ‘orderby’ param that is potentially related to a meta query.
Advertisement
get_terms_orderby
Filters the ORDERBY clause of the terms query.
WP_Term_Query::parse_orderby
Parse and sanitize ‘orderby’ keys passed to the term query.
terms_pre_query
Filter the terms array before the query takes place.
terms_clauses
Filters the terms query SQL clauses.
Advertisement
get_terms_fields
Filters the fields to select in the terms query.
list_terms_exclusions
Filters the terms to exclude from the terms query.
get_terms_args
Filters the terms query arguments.
pre_get_terms
Fires before terms are retrieved.
Advertisement
WP_Term_Query::get_terms
Get terms, based on query_vars.
WP_Term_Query::query
Sets up the query for retrieving terms.
parse_term_query
Fires after term query vars have been parsed.