WordPress开发者和主题制作者的搜索引擎



comment_feed_orderby ›

Since2.8.0
已弃用n/a
apply_filters_ref_array( 'comment_feed_orderby', array( 'comment_date_gmt DESC', &$this )
参数: (2)
  • (string) $corderby The ORDER BY clause of the query.
    Required: Yes
  • (WP_Query) $this The WP_Query instance (passed by reference).
    Required: Yes
定义在:
文档:

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





源码

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