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



get_{$taxonomy} ›

Desde4.4.0
Obsoleton/a
apply_filters( "get_{$taxonomy}", $_term, $taxonomy )
Parâmetros: (2)
  • (WP_Term) $_term Term object.
    Required: Yes
  • (string) $taxonomy The taxonomy slug.
    Required: Yes
Definido em:
Codex:

Filters a taxonomy term object.

The dynamic portion of the filter name, $taxonomy, refers to the slug of the term's taxonomy.





Fonte

$_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );