WordPress at Your Fingertips

category_description() WP 1.0

Retrieve category description.

No Hooks.

Return

String. Category description, if available.

Usage

category_description( $category );
$category(int)
Category ID.
Default: current category ID

Changelog

Since 1.0.0 Introduced.

Code of category_description() WP 5.8.1

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

Description (of post term)

Categories

Taxonomies (category, tag)

No comments
    Log In