Un motore di ricerca WordPress per sviluppatori e autori di temi



category_css_class ›

Da4.2.0
Deprecaton/a
apply_filters( 'category_css_class', $css_classes, $category, $depth, $args )
Parametri: (4)
  • (array) $css_classes An array of CSS classes to be applied to each list item.
    Richiesto:
  • (object) $category Category data object.
    Richiesto:
  • (int) $depth Depth of page, used for padding.
    Richiesto:
  • (array) $args An array of wp_list_categories() arguments.
    Richiesto:
Vedi:
  • wp_list_categories()
Definito a:
Codex:

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





Sorgenti

$css_classes = implode( ' ', apply_filters( 'category_css_class', $css_classes, $category, $depth, $args ) );