wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



category_list_link_attributes › Filtr WordPress Hooks

Od5.2.0
Przestarzałyn/a
› apply_filters( 'category_list_link_attributes', $atts, $category, $depth, $args, $current_object_id )
Parametry: (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. }
    Wymagane: Tak
  • () category Term data object.
    Wymagane: Tak
  • () depth Depth of category, used for padding.
    Wymagane: Tak
  • () args An array of arguments.
    Wymagane: Tak
  • () current_object_id ID of the current category.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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