Uses
| Uses | Description |
|---|---|
| wp-includes/category-template.php: term_description() | Retrieves term description. |
Retrieves category description.
(int) (Optional) Category ID. Defaults to the current category ID.
(string) Category description, if available.
File: wp-includes/category-template.php
function category_description( $category = 0 ) {
return term_description( $category );
} | Version | Description |
|---|---|
| 1.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/category_description