wpseek.com
A WordPress-centric search engine for devs and theme authors



list_pages › WordPress Filter Hooks

Since3.1.0
Deprecatedn/a
apply_filters( 'list_pages', $title, $page )
Parameters: (2)
  • (string) $title Page title.
    Required: Yes
  • (WP_Post) $page Page data object.
    Required: Yes
Defined at:
Codex:

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





Source

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