The dynamic portion of the hook name, $taxonomy, refers to the slug of the term's taxonomy. Possible hook names include: <ul> <li>get_category</li> <li>get_post_tag</li> </ul>
1034* @since 2.3.01035* @since 4.4.0`$_term` is now a WP_Term object.1036*1037* @param WP_Term$_term Term object.1038* @param string$taxonomy The taxonomy slug.1039*/1040$_term=apply_filters("get_{$taxonomy}",$_term,$taxonomy);10411042// Bail if a filter callback has changed the type of the `$_term` object.1043if(!($_terminstanceofWP_Term)){1044return$_term;1045}1046
History
Introduced in 2.3.0. Unchanged from 6.7.7 through 7.1.0.