wordpress-develop/tests/phpunit/tests/menu
Jb Audras b66fcb55e5 Menus: Allow themes and plugins to pass HTML attributes to various Nav Walker outputs.
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.




git-svn-id: https://develop.svn.wordpress.org/trunk@56067 602fd350-edb4-49c9-b593-d223f7449a82
2023-06-27 15:25:00 +00:00
..
nav-menu.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
walker-nav-menu-edit.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
walker-nav-menu.php Menus: Allow themes and plugins to pass HTML attributes to various Nav Walker outputs. 2023-06-27 15:25:00 +00:00
wp-nav-menu.php Menus: Test creating parent after a child doesn't throw an error. 2023-02-14 03:30:58 +00:00
wpAjaxMenuQuickSearch.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
wpExpandNavMenuPostData.php Coding Standards: Always use parentheses when instantiating an object. 2022-11-29 15:49:49 +00:00
wpNavMenuRemoveMenuItemHasChildrenClass.php Menus: Account for legacy calls to nav_menu_css_class filter. 2022-12-18 23:59:51 +00:00