WordPress как на ладони
wordpress jino
фильтр не описан

found_posts хук-фильтр . WP 2.1.0

Filters the number of found posts for the query.

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

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

	return $found_posts;
}
$found_posts(число)
The number of posts found.
$this(WP_Query)
The WP_Query instance (passed by reference).

Где используется хук

WP_Query::set_found_posts() остальные хуки:

Код хука

Фрагмент из: wp-includes/class-wp-query.php VER 4.9.7
...
					$this->found_posts = 0;
				} else {
					$this->found_posts = 1;
				}
			}
		}

		/**
		 * Filters the number of found posts for the query.
		 *
		 * @since 2.1.0
		 *
		 * @param int      $found_posts The number of posts found.
		 * @param WP_Query $this        The WP_Query instance (passed by reference).
		 */
		$this->found_posts = apply_filters_ref_array( 'found_posts', array( $this->found_posts, &$this ) );

		if ( ! empty( $limits ) )
			$this->max_num_pages = ceil( $this->found_posts / $q['posts_per_page'] );
	}

	/**
	 * Set up the next post and iterate current post index.
	 *
	 * @since 1.5.0
	 *
	 * @return WP_Post Next post.
	 */
	public function next_post() {

		$this->current_post++;
...