File: wp-includes/class-wp-term-query.php
-
Generate cache key.
-
Format response depending on field requested.
-
hookterms_pre_query
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.
-
hookpre_get_terms
Fires before terms are retrieved.
-
Parse and sanitize ‘orderby’ keys passed to the term query.
-
classWP_Term_Query
Class used for querying terms.
-
Constructor.
-
Parse arguments passed to the term query with default query parameters.
-
hookparse_term_query
Fires after term query vars have been parsed.
-
methodWP_Term_Query::query()
Sets up the query and retrieves the results.
-
Filters the terms query default arguments.
-
hookget_terms_args
Filters the terms query arguments.
-
Filters the ORDERBY clause of the terms query.
-
Filters the terms to exclude from the terms query.
-
hookget_terms_fields
Filters the fields to select in the terms query.
-
hookterms_clauses
Filters the terms query SQL clauses.