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

Filters a taxonomy term object.

Description

The ‘get_$taxonomy’ hook is also available for targeting a specific taxonomy.

Parameters

$_term

(WP_Term) Term object.

$taxonomy

(string) The taxonomy slug.

Source

File: wp-includes/taxonomy.php

View on Trac

Changelog

Version Description
4.4.0 $_term is now a WP_Term object.
2.3.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_term