apply_filters( 'wp_nav_menu_objects', array $sorted_menu_items , stdClass $args )
Filters the sorted list of menu item objects before generating the menu’s HTML.
Description Description
Parameters Parameters
- $sorted_menu_items
-
(array) The menu items, sorted by each menu item's menu order.
- $args
-
(stdClass) An object containing wp_nav_menu() arguments.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |