apply_filters( 'category_css_class', array $css_classes , object $category , int $depth , array $args )
Filters the list of CSS classes to include with each category in the list.
Description
See also
Parameters
- $css_classes
-
An array of CSS classes to be applied to each list item.
- $category
-
Category data object.
- $depth
-
Depth of page, used for padding.
- $args
-
An array of wp_list_categories() arguments.
Source
Changelog
Version | Description |
---|---|
WP-4.2.0 | Introduced. |