On this page
apply_filters( 'posts_request_ids', string $request, WP_Query $query )
Filters the Post IDs SQL request before sending.
Parameters
Source
File: wp-includes/class-wp-query.php. View all references
$this->request = apply_filters( 'posts_request_ids', $this->request, $this );
Related
Used By
| Used By | Description |
|---|---|
| WP_Query::get_posts() wp-includes/class-wp-query.php | Retrieves an array of posts based on query variables. |
Changelog
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/posts_request_ids