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

$titlestring
Page title.
$pageWP_Post
Page data object.

Source

$title = apply_filters( 'list_pages', $title, $page );

Changelog

Version Description
3.1.0 Introduced.

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