WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about wp_list_pages

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/post-template.php apply_filters 1366 /**
* Filters the HTML output of the pages to list.
* @since 1.5.1
* @since 4.4.0 `$pages` added as arguments.
* @see wp_list_pages()
* @param string $output HTML output of the pages list.
* @param array $parsed_args An array of page-listing arguments. See wp_list_pages()
* for information on accepted arguments.
* @param WP_Post[] $pages Array of the page objects.

Hook Parameters

Parameter Type Name Description
string[] $exclude_array An array of page IDs to exclude.