pre_get_comments
do_action_ref_array( ‘pre_get_comments’, WP_Comment_Query $this )
动作钩子::在检索注释之前触发。Action Hook: Fires before comments are retrieved.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$this | (WP_Comment_Query) | WP_Comment_Query的当前实例(通过引用传递)。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
3.1.0 | wp-includes/class-wp-comment-query.php:374 | 1 | 0 |
上一篇: comments_open
下一篇: nonce_life
总计 0 评论