W3cubDocs

/WordPress

apply_filters_ref_array( ‘comment_feed_groupby’, string $cgroupby, WP_Query $query )

Filters the GROUP BY clause of the comments feed query before sending.

Parameters

$cgroupbystring
The GROUP BY clause of the query.
$queryWP_Query
The WP_Query instance (passed by reference).

Source

$cgroupby = apply_filters_ref_array( 'comment_feed_groupby', array( $cgroupby, &$this ) );

Changelog

Version Description
2.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_feed_groupby