Uma área de pesquisa sobre o WordPress para devs e autores do tema



get_terms ›

Desde4.6.0
Obsoleton/a
apply_filters( 'get_terms', $terms, $term_query->query_vars['taxonomy'], $term_query->query_vars, $term_query )
Parâmetros: (4)
  • (array) $terms Array of found terms.
    Required: Yes
  • (array) $taxonomies An array of taxonomies.
    Required: Yes
  • (array) $args An array of get_terms() arguments.
    Required: Yes
  • (WP_Term_Query) $term_query The WP_Term_Query object.
    Required: Yes
Definido em:
Codex:

Filters the found terms.





Fonte

return apply_filters( 'get_terms', $terms, $term_query->query_vars['taxonomy'], $term_query->query_vars, $term_query );