On this page
apply_filters( "pre_{$taxonomy}_{$field}", mixed $value )
Filters a taxonomy field before it is sanitized.
Description
The dynamic portions of the filter name, $taxonomy and $field, refer to the taxonomy slug and field name, respectively.
Parameters
$valuemixed-
Value of the taxonomy field.
Source
File: wp-includes/taxonomy.php. View all references
$value = apply_filters( "pre_{$taxonomy}_{$field}", $value );
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/pre_taxonomy_field