apply_filters( "get_{$taxonomy}", int|WP_Term $_term, string $taxonomy )

Filters a taxonomy.


Description

The dynamic portion of the filter name, $taxonomy, refers to the taxonomy slug.


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.