W3cubDocs

/WordPress

apply_filters( ‘posts_request_ids’, string $request, WP_Query $query )

Filters the Post IDs SQL request before sending.

Parameters

$requeststring
The post ID request.
$queryWP_Query
The WP_Query instance.

Source

$this->request = apply_filters( 'posts_request_ids', $this->request, $this );

Changelog

Version Description
3.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/posts_request_ids