WordPress at a glance
filter is not described

wp_list_pages filter-hook . WP 1.5.1

Filters the HTML output of the pages to list.


add_filter( 'wp_list_pages', 'filter_function_name_6886', 10, 3 );
function filter_function_name_6886( $output, $r, $pages ){
	// filter...

	return $output;
HTML output of the pages list.
An array of page-listing arguments.
List of WP_Post objects returned by get_pages()


  • Since 4.4.0 $pages added as arguments.

Where the hook is called

wp-includes/post-template.php 1264
$html = apply_filters( 'wp_list_pages', $output, $r, $pages );

Where the hook is used (in WP core)

Does not used.