Filters the found terms.
$termsarray$taxonomiesarray|null$argsarray$term_queryWP_Term_Querywp-includes/taxonomy.php:1379get_terms() * * @param array $terms Array of found terms. * @param array|null $taxonomies An array of taxonomies if known. * @param array $args An array of get_terms() arguments. * @param WP_Term_Query $term_query The WP_Term_Query object. */ return apply_filters( 'get_terms', $terms, $term_query->query_vars['taxonomy'], $term_query->query_vars, $term_query );} /** * Adds metadata to a term. * * For historical reasons both the meta key and the meta value are expected to be "slashed" (slashes escaped) on input.Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.