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



found_comments_query › WordPress过滤钩子

Since4.4.0
已弃用n/a
› apply_filters( 'found_comments_query', 'SELECT FOUND_ROWS()
参数: (2)
  • () found_comments_query SQL query. Default 'SELECT FOUND_ROWS()'.
    Required: Yes
  • () comment_query The `WP_Comment_Query` instance.
    Required: Yes
定义在:
文档:

Filters the query used to retrieve found comment count.





源码

$found_comments_query = apply_filters( 'found_comments_query', 'SELECT FOUND_ROWS()', $this );