On this page
apply_filters( 'list_pages', string $title, WP_Post $page )
Filters the page title when creating an HTML drop-down list of pages.
Parameters
$titlestring-
Page title.
$pageWP_Post-
Page data object.
Source
File: wp-includes/class-walker-page-dropdown.php. View all references
$title = apply_filters( 'list_pages', $title, $page );
Related
Used By
| Used By | Description |
|---|---|
| Walker_PageDropdown::start_el() wp-includes/class-walker-page-dropdown.php | Starts the element output. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/list_pages