apply_filters( "term_{$field}", mixed $value, int $term_id, string $taxonomy, string $context )
Filters the term field sanitized for display.
Description
The dynamic portion of the filter name, $field
, refers to the term field name.
Parameters
- $value
-
(mixed) Value of the term field.
- $term_id
-
(int) Term ID.
- $taxonomy
-
(string) Taxonomy slug.
- $context
-
(string) Context to retrieve the term field value.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/term_field