apply_filters( 'posts_request_ids', string $request, WP_Query $query )

Filters the Post IDs SQL request before sending.

Parameters

$request

(string) The post ID request.

$query

(WP_Query) The WP_Query instance.

Source

File: wp-includes/class-wp-query.php

View on Trac

Changelog

Version Description
3.4.0 Introduced.

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