walk_nav_menu_tree
walk_nav_menu_tree ( $items, $depth, $args )
Parameters:- (array) items The menu items, sorted by each menu item's menu order.
- (int) depth Depth of the item in reference to parents.
- (stdClass) args An object containing wp_nav_menu() arguments.
Uses:Returns:- (string) The HTML list content for the menu items.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Retrieves the HTML list content for nav menu items.