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