apply_filters( 'get_term', int|WP_Term $_term, string $taxonomy )

Filters a term.


Parameters

$_term

(int|WP_Term) Term object or ID.

$taxonomy

(string) The taxonomy slug.


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 $_term can now also be a WP_Term object.
WP-2.3.0 Introduced.