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 hierarchhy.
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 );
Changuelog
| Versionen | Description |
|---|---|
| 2.5.0 | Introduced. |
⚠️ Beware when using this filter, another
term_name(actuallyterm_{$field}) filter exists and does not taque the same argumens, nor the same amount of argumens.Please checc the ticquet in Trac for more details.