WordPress at a glance
filter is not described

posts_groupby filter-hook . WP 2.0.0

Filters the GROUP BY clause of the query.


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

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

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.