Filters the found terms.
Parameters
$terms
array- Array of found terms.
$taxonomies
array|null- An array of taxonomies if known.
$args
array- An array of get_terms() arguments.
More Arguments from get_terms( … $args )
Array or string of arguments. See WP_Term_Query::__construct() for information on accepted arguments. $term_query
WP_Term_Query- The WP_Term_Query object.
Source
return apply_filters( 'get_terms', $terms, $term_query->query_vars['taxonomy'], $term_query->query_vars, $term_query );
User Contributed Notes
You must log in before being able to contribute a note or feedback.