apply_filters_ref_array( 'posts_clauses_request', string[] $pieces, WP_Query $query )
Filters all query clauses at once, for convenience.
Description
For use by caching plugins.
Covers the WHERE, GROUP BY, JOIN, ORDER BY, DISTINCT, fields (SELECT), and LIMITS clauses.
Parameters
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/posts_clauses_request