apply_filters( ‘get_term’, WP_Term $_term, string $taxonomy )

In this article

Filters a taxonomy term object.

Description

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

Parameters

$_termWP_Term
Term object.
$taxonomystring
The taxonomy slug.

Source

$_term = apply_filters( 'get_term', $_term, $taxonomy );

Changelog

VersionDescription
4.4.0$_term is now a WP_Term object.
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.