apply_filters( 'found_comments_query', string $found_comments_query , WP_Comment_Query $comment_query )
Filters the query used to retrieve found comment count.
Parameters
- $found_comments_query
-
SQL query. Default 'SELECT FOUND_ROWS()'.
- $comment_query
-
The
WP_Comment_Queryinstance.
Source
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |