category_description
apply_filters( ‘category_description’, string $description , object $category )
筛选挂钩:筛选要显示的类别描述。
Filter Hook: Filters the category description for display.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$description | (string) | 类别说明。 |
$category | (object) | 类别对象。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.2.0 | wp-includes/class-walker-category.php:119 | 1 | 0 |
category_description 为WP2原创文章,链接:https://www.wp2.cn/hook/category_description/