WordPress at a glance
filter is not described

the_posts filter-hook . WP 1.5.0

Filters the array of retrieved posts after they've been fetched and internally processed.


add_filter( 'the_posts', 'filter_function_name_8925', 10, 2 );
function filter_function_name_8925( $posts, $this ){
	// filter...

	return $posts;
Array of post objects.
The WP_Query instance (passed by reference).

Where the hook is called

wp-includes/class-wp-query.php 3152
$this->posts = apply_filters_ref_array( 'the_posts', array( $this->posts, &$this ) );

Where the hook is used (in WP core)

wp-includes/default-filters.php 255
add_filter( 'the_posts', '_close_comments_for_old_posts', 10, 2 );