Summery Summery
Filters the HTML attributes applied to a category list item’s anchor element.
Syntax Syntax
Parameters Parameters
- $atts
-
The HTML attributes applied to the list item's
<a>
element, empty strings are ignored.- 'href'
(string) The href attribute. - 'title'
(string) The title attribute.
- 'href'
- $category
-
Term data object.
- $depth
-
Depth of category, used for padding.
- $args
-
An array of arguments.
- $id
-
ID of the current category.
Source Source
Advertisement
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |