apply_filters_ref_array( ‘comment_feed_orderby’, string $corderby, WP_Query $query )

In this article

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

Parameters

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

Source

$corderby = apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this ) );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.