Description
Filters the sorted list of menu item objects before generating the menu's HTML.
Occurrences
Filename | Line Number |
---|---|
wp-includes/nav-menu-template.php | 234 |
Parameters
Type | Name | Description |
---|---|---|
array | $sorted_menu_items | The menu items, sorted by each menu item's menu order. |
stdClass | $args | An object containing wp_nav_menu() arguments. |
PHP Doc
/**
* Filters the sorted list of menu item objects before generating the menu's HTML.
*
* @since 3.1.0
*
* @param array $sorted_menu_items The menu items, sorted by each menu item's menu order.
* @param stdClass $args An object containing wp_nav_menu() arguments.
*/