WordPress at Your Fingertips
filter is not described

posts_groupby filter-hook . WP 2.0.0

Filters the GROUP BY clause of the query.

Usage

add_filter( 'posts_groupby', 'filter_function_name_4490', 10, 2 );
function filter_function_name_4490( $groupby, $query ){
	// filter...

	return $groupby;
}
$groupby(string)
The GROUP BY clause of the query.
$query(WP_Query)
The WP_Query instance (passed by reference).

Changelog

Since 2.0.0 Introduced.

Where the hook is called

WP_Query::get_posts()
posts_groupby
wp-includes/class-wp-query.php 2714
$groupby = apply_filters_ref_array( 'posts_groupby', array( $groupby, &$this ) );

Where in WP core the hook is used WordPress

Usage not found.