W3cubDocs

/WordPress

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_name

(string) The term name, padded if not top-level.

$tag

(WP_Term) Term object.

Source

File: wp-admin/includes/class-wp-terms-list-table.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

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