On this page
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
File: wp-admin/includes/class-wp-terms-list-table.php. View all references
$name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag );
Related
Used By
| Used By | Description |
|---|---|
| WP_Terms_List_Table::column_name() wp-admin/includes/class-wp-terms-list-table.php |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/term_name