Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-walker-nav-menu.php | apply_filters | 75 | /** * Filters the CSS class(es) applied to a menu list element. * * @since 4.8.0 * * @param string[] $classes Array of the CSS classes that are applied to the menu `
* @param stdClass $args An object of `wp_nav_menu()` arguments. * @param int $depth Depth of menu item. Used for padding. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $classes | Array of the CSS classes that are applied to the menu `
|
stdClass | $args | An object of `wp_nav_menu()` arguments. |
int | $depth | Depth of menu item. Used for padding. |