category_description()
category_description( int $category )
检索类别描述。
Retrieve category description.
参数(Parameters)
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
$category | (int) | 可选 | 类别ID。默认情况下将使用全局类别ID。 |
返回(Return)
(string)类别描述,可用。
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
1.0.0 | wp-includes/category-template.php:275 | 0 | 1 function |
笔记(Notes)
默认用法
使用类别段塞
具有类别标题
category_description() 为WP2原创文章,链接:https://www.wp2.cn/functions/category_description-2/