Filters a taxonomy term object.
Description
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
Parameters
$_term
WP_Term- Term object.
$taxonomy
string- The taxonomy slug.
Source
$_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );
User Contributed Notes
You must log in before being able to contribute a note or feedback.