WordPress at a glance
filter is not described

wp_dropdown_pages filter-hook . WP 2.1.0

Filters the HTML output of a list of pages as a drop down.


add_filter( 'wp_dropdown_pages', 'filter_function_name_8626', 10, 3 );
function filter_function_name_8626( $output, $r, $pages ){
	// filter...

	return $output;
HTML output for drop down list of pages.
The parsed arguments array.
List of WP_Post objects returned by get_pages()


  • Since 4.4.0 $r and $pages added as arguments.

Where the hook is called

wp-includes/post-template.php 1137
$html = apply_filters( 'wp_dropdown_pages', $output, $r, $pages );

Where the hook is used (in WP core)

Does not used.