WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_dropdown_pages

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post-template.php apply_filters 1235 /**
* 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.
*/

Hook Parameters

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