category_css_class

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'category_css_class', array $css_classes, object $category, int $depth, array $args )

Parameters Parameters

$css_classes

(array) An array of CSS classes to be applied to each list item.

$category

(object) Category data object.

$depth

(int) Depth of page, used for padding.

$args

(array) An array of wp_list_categories() arguments.

Source Source

File: wp-includes/class-walker-category.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.2.0 Introduced.

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.