wpseek.com
A WordPress-centric search engine for devs and theme authors



category_description › WordPress Function

Since1.0.0
Deprecatedn/a
category_description ( $category = 0 )
Parameters:
  • (int) $category Optional. Category ID. Defaults to the current category ID.
    Required: No
    Default:
Returns:
  • (string) Category description, if available.
Defined at:
Codex:

Retrieves category description.



Source

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