A WordPress-centric search engine for devs and theme authors



comment_feed_orderby ›

Since2.8.0
Deprecatedn/a
apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this )
Parameters: (2)
  • (string) $corderby The ORDER BY clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
Defined at:
Codex:

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





Source

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