wpseek.com
A WordPress-centric search engine for devs and theme authors



get_{$taxonomy} › WordPress Filter Hooks

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 hook name, $taxonomy, refers to the slug of the term's taxonomy.

Possible hook names include:

  • get_category
  • get_post_tag




Source

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