wpseek.com
WordPress开发者和主题制作者的搜索引擎



term_name › WordPress过滤钩子

Since2.5.0
已弃用n/a
apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag )
参数: (2)
  • (string) $pad_tag_name The term name, padded if not top-level.
    Required: Yes
  • (WP_Term) $tag Term object.
    Required: Yes
定义在:
文档:

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.





源码

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