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



category_description ›

Since1.2.0
已弃用n/a
apply_filters( 'category_description', $category->description, $category )
参数: (2)
  • (string) $description Category description.
    Required: Yes
  • (object) $category Category object.
    Required: Yes
定义在:
文档:

Filters the category description for display.





源码

$atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) );