category_description

函数


category_description ( $category = 0 )
参数
  • (int)
    $category
    Optional. Category ID. Defaults to the current category ID.
    Required:
返回值
  • (string) Category description, if available.
定义位置
  • wp-includes/category-template.php
    , line 288
引入
1.0.0
弃用

检索类别描述。

function category_description( $category = 0 ) {
	return term_description( $category );
}