apply_filters( 'wp_dropdown_pages', string $output, array $parsed_args, WP_Post[] $pages )

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


Parameters Parameters

$output

(string) HTML output for drop down list of pages.

$parsed_args

(array) The parsed arguments array. See wp_dropdown_pages() for information on accepted arguments.

$pages

(WP_Post[]) Array of the page objects.


Top ↑

Source Source

File: wp-includes/post-template.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 $parsed_args and $pages added as arguments.
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.