Filters the HTML attributes applied to a menu list element.
$attsarray
<ul> element, empty strings are ignored.class string$argsstdClass
wp_nav_menu() arguments.$depthint
$atts = apply_filters( 'nav_menu_submenu_attributes', $atts, $args, $depth );
| Version | Description |
|---|---|
| 6.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nav_menu_submenu_attributes