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

In this article

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

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

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

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