Filters the list of CSS classes to include with each category in the list.
$css_classesstring[]
$categoryWP_Term
$depthint
$argsarray
$css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) );
| Version | Description |
|---|---|
| 4.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/category_css_class