Filter hook 'wp_dropdown_pages'

in WP Core File wp-includes/post-template.php at line 1243

Description

Filters the HTML output of a list of pages as a dropdown.

Occurrences

Filename Line Number
wp-includes/post-template.php 1243

Parameters

Type Name Description
string $output HTML output for dropdown list of pages.
array $parsed_args The parsed arguments array. See wp_dropdown_pages() for information on accepted arguments.
WP_Post[] $pages Array of the page objects.

PHP Doc

/**
	 * Filters the HTML output of a list of pages as a dropdown.
	 *
	 * @since 2.1.0
	 * @since 4.4.0 `$parsed_args` and `$pages` added as arguments.
	 *
	 * @param string    $output      HTML output for dropdown list of pages.
	 * @param array     $parsed_args The parsed arguments array. See wp_dropdown_pages()
	 *                               for information on accepted arguments.
	 * @param WP_Post[] $pages       Array of the page objects.
	 */