Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-walker-category.php | apply_filters | 144 | /** * Filters the HTML attributes applied to a category list item's anchor element. * * @since 5.2.0 * * @param array $atts { * The HTML attributes applied to the list item's `` element, empty strings are ignored. * * @type string $href The href attribute. * @type string $title The title attribute. * } * @param WP_Term $category Term data object. * @param int $depth Depth of category, used for padding. * @param array $args An array of arguments. * @param int $current_object_id ID of the current category. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $att | s { |
WP_Term | $category | Term data object. |
int | $depth | Depth of category, used for padding. |
array | $args | An array of arguments. |
int | $current_object_id | ID of the current category. |