A WordPress-centric search engine for devs and theme authors



category_description ›

Since1.0.0
Deprecatedn/a
category_description ( $category = 0 )
Parameters:
  • (int) $category Optional. Category ID. Will use global category ID by default.
    Required: No
    Default:
Returns:
  • (string) Category description, available.
Defined at:
Codex:

Retrieve category description.



Source

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