WordPress at a glance
filter is not described

posts_clauses_request filter-hook . WP 3.1.0

Filters all query clauses at once, for convenience.

For use by caching plugins.

Covers the WHERE, GROUP BY, JOIN, ORDER BY, DISTINCT, fields (SELECT), and LIMITS clauses.


add_filter( 'posts_clauses_request', 'filter_function_name_9758', 10, 2 );
function filter_function_name_9758( $pieces, $this ){
	// filter...

	return $pieces;
The pieces of the query.
The WP_Query instance (passed by reference).

Where the hook is called

wp-includes/class-wp-query.php 2706
$clauses = (array) apply_filters_ref_array( 'posts_clauses_request', array( compact( $pieces ), &$this ) );

Where the hook is used (in WP core)

Does not used.