category_description WordPress Filter Hook
The category_description hook allows you to add a description for a category. This can be useful for adding a short description of what the category is about.
apply_filters( 'category_description', string $description , WP_Term $category ) #
Filters the category description for display.
Parameters
- $description
(string)Category description.
- $category
(WP_Term)Category object.
Source
Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |