Filters the query used to retrieve found comment count.
$found_comments_querystring
$comment_queryWP_Comment_Query
WP_Comment_Query instance.$found_comments_query = apply_filters( 'found_comments_query', 'SELECT FOUND_ROWS()', $this );
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/found_comments_query