A HitchHackers guide through WordPress


Home | Pages | Archives


walk_nav_menu_tree

February 12, 2011 3:56 am

Definition:
function walk_nav_menu_tree( $items, $depth, $r ) {}

Retrieve the HTML list content for nav menu items.

Parameters

Source code

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 );

}

3341

Rate this:

Posted by Thorsten

Categories: /wp-includes/nav-menu-template.php, Documentation, Files, Functions, Functions by letter w

Tags: , ,

Leave a Reply



Mobile Site | Full Site


Get a free blog at WordPress.com Theme: WordPress Mobile Edition by Alex King.