comments_clauses
apply_filters_ref_array( ‘comments_clauses’, string[] $pieces , WP_Comment_Query $this )
过滤器::过滤注释查询子句。
Filter Hook: Filters the comment query clauses.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$pieces | (string[]) | 注释查询子句的关联数组。 |
$this | (WP_Comment_Query) | WP_Comment_Query的当前实例(通过引用传递)。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-includes/class-wp-comment-query.php:885 | 1 | 0 |
comments_clauses 为WP2原创文章,链接:https://www.wp2.cn/hook/comments_clauses/