WordPress at a glance
filter is not described

found_posts filter-hook . WP 2.1.0

Filters the number of found posts for the query.


add_filter( 'found_posts', 'filter_function_name_7180', 10, 2 );
function filter_function_name_7180( $found_posts, $this ){
	// filter...

	return $found_posts;
The number of posts found.
The WP_Query instance (passed by reference).

Where the hook is called

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

Where the hook is used (in WP core)

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