apply_filters( 'get_term', int|WP_Term $_term , string $taxonomy )
Filters a term.
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. |