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



category_description ›

Since1.0.0
已弃用n/a
category_description ( $category = 0 )
参数:
  • (int) $category Optional. Category ID. Will use global category ID by default.
    Required: No
    默认:
返回:
  • (string) Category description, available.
定义在:
文档:

Retrieve category description.



源码

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