This introduces a new set of hooks that can be used to filter various HTML elements of the Nav Walker, in order to output the desired HTML attributes: - List items: `nav_menu_item_attributes` - Submenu `<ul>` element: `nav_menu_submenu_attributes` Props davidwebca, danyk4, costdev, peterwilsoncc, audrasjb, oglekler. Fixes #57140. Built from https://develop.svn.wordpress.org/trunk@56067 git-svn-id: http://core.svn.wordpress.org/trunk@55579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
11 KiB
11 KiB