W3cubDocs

/WordPress

apply_filters( "pre_term_{$field}", mixed $value, string $taxonomy )

Filters a term field value before it is sanitized.

Description

The dynamic portion of the filter name, $field, refers to the term field.

Parameters

$value

(mixed) Value of the term field.

$taxonomy

(string) Taxonomy slug.

Source

File: wp-includes/taxonomy.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_term_field