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.

Top ↑

See also


Top ↑

Parameters

$pad_tag_name string
The term name, padded if not top-level.
$tag WP_Term
Term object.

Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes

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