apply_filters( “edit_term_{$field}”, mixed $value, int $term_id, string $taxonomy )

In this article

Filters a term field to edit before it is sanitized.

Description

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

Parameters

$valuemixed
Value of the term field.
$term_idint
Term ID.
$taxonomystring
Taxonomy slug.

Source

$value = apply_filters( "edit_term_{$field}", $value, $term_id, $taxonomy );

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.