On this page
apply_filters( "{$taxonomy}_{$field}", mixed $value, int $term_id, string $context )
Filters the taxonomy field sanitized for display.
Description
The dynamic portions of the filter name, $taxonomy, and $field, refer to the taxonomy slug and taxonomy field, respectively.
Parameters
$valuemixed-
Value of the taxonomy field.
$term_idint-
Term ID.
$contextstring-
Context to retrieve the taxonomy field value.
Source
File: wp-includes/taxonomy.php. View all references
$value = apply_filters( "{$taxonomy}_{$field}", $value, $term_id, $context );
Related
Used By
| Used By | Description |
|---|---|
| sanitize_term_field() wp-includes/taxonomy.php | Sanitizes the field value in the term based on the context. |
Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/taxonomy_field