Un motore di ricerca WordPress per sviluppatori e autori di temi



category_list_link_attributes ›

Da5.2.0
Deprecaton/a
apply_filters( 'category_list_link_attributes', $atts, $category, $depth, $args, $id )
Parametri: (5)
  • (array) $atts { The HTML attributes applied to the list item's `<a>` element, empty strings are ignored. @type string $href The href attribute. @type string $title The title attribute. }
    Richiesto:
  • (WP_Term) $category Term data object.
    Richiesto:
  • (int) $depth Depth of category, used for padding.
    Richiesto:
  • (array) $args An array of arguments.
    Richiesto:
  • (int) $id ID of the current category.
    Richiesto:
Definito a:
Codex:

Filters the HTML attributes applied to a category list item's anchor element.





Sorgenti

$atts = apply_filters( 'category_list_link_attributes', $atts, $category, $depth, $args, $id );