apply_filters( 'wp_dropdown_pages', string $output , array $r , array $pages )
Filters the HTML output of a list of pages as a drop down.
Parameters
- $output
-
HTML output for drop down list of pages.
- $r
-
The parsed arguments array.
- $pages
-
List of WP_Post objects returned by
get_pages()
Source
Changelog
Version | Description |
---|---|
WP-4.4.0 | $r and $pages added as arguments. |
WP-2.1.0 | Introduced. |