A HitchHackers guide through WordPress


Home | Pages | Archives


walk_page_dropdown_tree

February 12, 2011 3:56 am

Definition:
function walk_page_dropdown_tree() {}

Retrieve HTML dropdown (select) content for page list.

Source code

function walk_page_dropdown_tree() {

	$args = func_get_args();

	if ( empty($args[2]['walker']) ) // the user's options are the third parameter

		$walker = new Walker_PageDropdown;

	else

		$walker = $args[2]['walker'];



	return call_user_func_array(array(&$walker, 'walk'), $args);

}

3343

Rate this:

Posted by Thorsten

Categories: /wp-includes/post-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.