wzpa_query_groupby
Filters the GROUP BY clause of the query.
Type: filter
Since: 1.2.0
Source: includes/frontend/class-display.php line 426
Parameters
| Type | Name | Description |
|---|---|---|
string |
$groupby |
The GROUP BY clause of the query. |
array |
$args |
Arguments array. |
Usage
add_filter( 'wzpa_query_groupby', function($groupby, $args) {
// ...
return $groupby;
} );