apply_filters_ref_array( 'found_posts', int $found_posts , WP_Query $query )
Filters the number of found posts for the query.
Parameters
- $found_posts
-
The number of posts found.
- $query
-
The WP_Query instance (passed by reference).
Source
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |