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
-
Term object or ID.
- $taxonomy
-
The taxonomy slug.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
WP-4.4.0 | $_term can now also be a WP_Term object. |
WP-2.3.0 | Introduced. |