On this page
apply_filters( 'category_description', string $description, WP_Term $category )
Filters the category description for display.
Parameters
$descriptionstring-
Category description.
$categoryWP_Term-
Category object.
Source
File: wp-includes/class-walker-category.php. View all references
$atts['title'] = strip_tags( apply_filters( 'category_description', $category->description, $category ) );
Related
Used By
| Used By | Description |
|---|---|
| Walker_Category::start_el() wp-includes/class-walker-category.php | Starts the element output. |
Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/category_description