Filters the query used to retrieve found comment count.
Parameters
$found_comments_querystring- SQL query. Default ‘SELECT FOUND_ROWS()’.
$comment_queryWP_Comment_Query- The
WP_Comment_Queryinstance.
Source
$found_comments_query = apply_filters( 'found_comments_query', 'SELECT FOUND_ROWS()', $this ); Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.