Filter hook 'nav_menu_submenu_attributes'

in WP Core File wp-includes/class-walker-nav-menu.php at line 93

Description

Filters the HTML attributes applied to a menu list element. }

Occurrences

Filename Line Number
wp-includes/class-walker-nav-menu.php 93

Parameters

Type Name Description
array $atts { The HTML attributes applied to the `
    ` element, empty strings are ignored.
stdClass $args An object of `wp_nav_menu()` arguments.
int $depth Depth of menu item. Used for padding.

PHP Doc

/**
		 * Filters the HTML attributes applied to a menu list element.
		 *
		 * @since 6.3.0
		 *
		 * @param array $atts {
		 *     The HTML attributes applied to the `