W3cubDocs

/WordPress

apply_filters( 'list_pages', string $title, WP_Post $page )

Filters the page title when creating an HTML drop-down list of pages.

Parameters

$title

(string) Page title.

$page

(WP_Post) Page data object.

Source

File: wp-includes/class-walker-page-dropdown.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/list_pages