WordPress at a glance
filter is not described

get_pages filter-hook . WP 2.1.0

Filters the retrieved list of pages.


add_filter( 'get_pages', 'filter_function_name_7974', 10, 2 );
function filter_function_name_7974( $pages, $r ){
	// filter...

	return $pages;
List of pages to retrieve.
Array of get_pages() arguments.

Where the hook is called

wp-includes/post.php 5011
return apply_filters( 'get_pages', $pages, $r );
wp-includes/post.php 4817
$pages = apply_filters( 'get_pages', $pages, $r );
wp-includes/post.php 4959
$pages = apply_filters( 'get_pages', array(), $r );

Where the hook is used (in WP core)

Does not used.