Filters the HTML attributes applied to a category list item’s anchor element.
$attsarray
<a> element, empty strings are ignored.href stringtitle string$categoryWP_Term
$depthint
$argsarray
$current_object_idint
$atts = apply_filters( 'category_list_link_attributes', $atts, $category, $depth, $args, $current_object_id );
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/category_list_link_attributes