A WordPress-centric search engine for devs and theme authors



wp_dropdown_pages ›

Since4.4.0
Deprecatedn/a
apply_filters( 'wp_dropdown_pages', $output, $r, $pages )
Parameters: (3)
  • (string) $output HTML output for drop down list of pages.
    Required: Yes
  • (array) $r The parsed arguments array.
    Required: Yes
  • (array) $pages List of WP_Post objects returned by `get_pages()`
    Required: Yes
Defined at:
Codex:

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





Source

$html = apply_filters( 'wp_dropdown_pages', $output, $r, $pages );