category_description() – Retrieve category description.

You appear to be a bot. Output may be restricted

Description

Retrieves category description.

Usage

$string = category_description( $category );

Parameters

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

Returns

string Category description, if available.

Source

File name: wordpress/wp-includes/category-template.php
Lines:

1 to 3 of 3
function category_description( $category = 0 ) {
  return term_description( $category );
}
 

 View on GitHub View on Trac