WordPress at a glance
filter is not described

category_css_class filter-hook . WP 4.2.0

Filters the list of CSS classes to include with each category in the list.


add_filter( 'category_css_class', 'filter_function_name_7765', 10, 4 );
function filter_function_name_7765( $css_classes, $category, $depth, $args ){
	// filter...

	return $css_classes;
An array of CSS classes to be applied to each list item.
Category data object.
Depth of page, used for padding.
An array of wp_list_categories() arguments.


Since 4.2.0 Introduced.

Where the hook is called

wp-includes/class-walker-category.php 238
$css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) );

Where the hook is used (in WP core)

Usage not found!