A WordPress-centric search engine for devs and theme authors



get_{$taxonomy} ›

Since4.4.0
Deprecatedn/a
apply_filters( "get_{$taxonomy}", $_term, $taxonomy )
Parameters: (2)
  • (WP_Term) $_term Term object.
    Required: Yes
  • (string) $taxonomy The taxonomy slug.
    Required: Yes
Defined at:
Codex:

Filters a taxonomy term object.

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





Source

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