A WordPress-centric search engine for devs and theme authors



wp_list_pages ›

Since4.4.0
Deprecatedn/a
apply_filters( 'wp_list_pages', $output, $r, $pages )
Parameters: (3)
  • (string) $output HTML output of the pages list.
    Required: Yes
  • (array) $r An array of page-listing arguments.
    Required: Yes
  • (array) $pages List of WP_Post objects returned by `get_pages()`
    Required: Yes
See:
  • wp_list_pages()
Defined at:
Codex:

Filters the HTML output of the pages to list.





Source

$html = apply_filters( 'wp_list_pages', $output, $r, $pages );