edit_term_{$field}

SummerySummery

Filters a term field to edit before it is sanitized.

Syntax

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

DescriptionDescription

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

ParametersParameters

$value

(mixed) Value of the term field.

$term_id

(int) Term ID.

$taxonomy

(string) Taxonomy slug.

SourceSource

File: wp-includes/taxonomy.php

ChangelogChangelog

Changelog
Version Description
2.3.0 Introduced.
Scroll to Top