A WordPress-centric search engine for devs and theme authors



found_comments_query ›

Since4.4.0
Deprecatedn/a
apply_filters( 'found_comments_query', 'SELECT FOUND_ROWS()
Parameters: (2)
  • (string) $found_comments_query SQL query. Default 'SELECT FOUND_ROWS()'.
    Required: Yes
  • (WP_Comment_Query) $comment_query The `WP_Comment_Query` instance.
    Required: Yes
Defined at:
Codex:

Filters the query used to retrieve found comment count.





Source

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