wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



category_list_link_attributes › WordPress Filter Hooks

Da5.2.0
Deprecaton/a
› apply_filters( 'category_list_link_attributes', $atts, $category, $depth, $args, $current_object_id )
Parametri: (5)
  • () 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: Sì
  • () category Term data object.
    Richiesto: Sì
  • () depth Depth of category, used for padding.
    Richiesto: Sì
  • () args An array of arguments.
    Richiesto: Sì
  • () current_object_id ID of the current category.
    Richiesto: Sì
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, $current_object_id );