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_1231', 10, 2 );
function filter_function_name_1231( $pages, $r ){
	// filter...

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

Where the hook is called

wp-includes/post.php 5286
return apply_filters( 'get_pages', $pages, $r );
wp-includes/post.php 5074
$pages = apply_filters( 'get_pages', $pages, $r );
wp-includes/post.php 5234
$pages = apply_filters( 'get_pages', array(), $r );

Where the hook is used (in WP core)

Использование не найдено.