1. 首页
  2. WordPress钩子手册

comment_feed_groupby

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

过滤器::在发送前过滤comments feed查询的GROUP BY子句。
Filter Hook: Filters the GROUP BY clause of the comments feed query before sending.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$cgroupby (string) 查询的GROUP BY子句。
$this (WP_Query) WP_查询实例(通过引用传递)。

源码(Source)


更新版本 源码位置 使用 被使用
2.2.0 wp-includes/class-wp-query.php:2627 1 0

comment_feed_groupby 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_feed_groupby/