wpseek.com
A WordPress-centric search engine for devs and theme authors



term_name › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag )
Parameters: (2)
  • (string) $pad_tag_name The term name, padded if not top-level.
    Required: Yes
  • (WP_Term) $tag Term object.
    Required: Yes
Defined at:
Codex:

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

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





Source

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