Retrieve the HTML list content for nav menu items.

Signature

walk_nav_menu_tree( $items, $depth, $r )
items
 
depth
 
r
 

Return

(void)

Source

function walk_nav_menu_tree( $items, $depth, $r ) {
	$walker = ( empty($r->walker) ) ? new Walker_Nav_Menu : $r->walker;
	$args = array( $items, $depth, $r );

	return call_user_func_array( array($walker, 'walk'), $args );
}
WP Trac GitHub

Link here