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.

Usage

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

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

Notes

  • Since 4.4.0 $pages added as arguments.

Where the hook is called

wp_list_pages()
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.