apply_filters( ‘term_name’, string $pad_tag_name, WP_Term $tag )

Filters display of the term name in the terms list table.

Description

The default output may include padding due to the term’s current level in the term hierarchy.

See also

Parameters

$pad_tag_namestring
The term name, padded if not top-level.
$tagWP_Term
Term object.

Source

$name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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