Used By
Used By | Description |
---|---|
wp-includes/class-walker-page.php: Walker_Page::start_el() | Outputs the beginning of the current element in the tree. |
Filters the HTML attributes applied to a page menu item’s anchor element.
(array) The HTML attributes applied to the menu item's <a>
element, empty strings are ignored.
(string) The href attribute.
(string) The aria-current attribute.
(WP_Post) Page data object.
(int) Depth of page, used for padding.
(array) An array of arguments.
(int) ID of the current page.
Version | Description |
---|---|
4.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/page_menu_link_attributes