WordPress at a glance
filter is not described

get_term filter-hook . WP 2.3.0

Filters a term.

Usage

add_filter( 'get_term', 'filter_function_name_6344', 10, 2 );
function filter_function_name_6344( $_term, $taxonomy ){
	// filter...

	return $_term;
}
$_term(int/WP_Term)
Term object or ID.
$taxonomy(string)
The taxonomy slug.

Notes

  • Since 4.4.0 $_term can now also be a WP_Term object.

Where the hook is called

get_term()
get_term
wp-includes/taxonomy.php 791
$_term = apply_filters( 'get_term', $_term, $taxonomy );

Where the hook is used (in WP core)

wp-admin/includes/ms-admin-filters.php 26
add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 );