category_description()

最后更新于:2021-11-25 20:27:08

category_description( int$category)

Retrieves category description.

参数

$category

(int) (Optional) Category ID. Defaults to the current category ID.

响应

(string) Category description, if available.

源文件

文件: gc-includes/category-template.php

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