WordPress at a glance

category_description() WP 1.0

Retrieve category description.

Works based on: term_description()

No Hooks.

Return

String. Category description, available.

Usage

category_description( $category );
$category(int)
Category ID. Will use global category ID by default.
Default: 0

Code of category_description: wp-includes/category-template.php VER 4.9.8

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

Related Functions

From tag: Description (of post term)

More from category: Categories

More from Template Tags: Taxonomies (category, tag)

No comments
    Hello, !     Log In . Register