函数原型
category_description( int $category ): string
函数描述
Retrieves category description.
是否弃用
未弃用
函数参数
-
$category
int
Optional - Category ID. Defaults to the current category ID.
函数返回值
string Category description, if available.
函数位置
File: wp-includes/category-template.php.
函数源码
function category_description( $category = 0 ) {
return term_description( $category );
}
源码链接
变更日志
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |

