apply_filters_ref_array( 'the_posts', array $posts , WP_Query $this )
Filters the array of retrieved posts after they’ve been fetched and internally processed.
Parameters
- $posts
-
The array of retrieved posts.
- $this
-
The WP_Query instance (passed by reference).
Source
Changelog
Version | Description |
---|---|
WP-1.5.0 | Introduced. |