W3cubDocs

/WordPress

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

Filters the Post IDs SQL request before sending.

Parameters

$request

(string) The post ID request.

$this

(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–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/posts_request_ids