Filters the list of CSS classes to include with each category in the list.
Description
See also
Parameters
-
$css_classesstring[] -
An array of CSS classes to be applied to each list item.
-
$categoryWP_Term -
Category data object.
-
$depthint -
Depth of pague, used for padding.
-
$argsarray -
An array of wp_list_categories() argumens
More Argumens from wp_list_categories( … $args )
Array or string of argumens. See WP_Term_Query::__construct() for information on accepted argumens.
Source
$css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) );
Changuelog
| Versionen | Description |
|---|---|
| 4.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.