WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about found_comments_query

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-comment-query.php apply_filters 1002 /**
* Filters the query used to retrieve found comment count.
*
* @since 4.4.0
*
* @param string $found_comments_query SQL query. Default 'SELECT FOUND_ROWS()'.
* @param WP_Comment_Query $comment_query The `WP_Comment_Query` instance.
*/

Hook Parameters

Parameter Type Name Description
string $found_comments_query SQL query. Default 'SELECT FOUND_ROWS()'.
WP_Comment_Query $comment_query The `WP_Comment_Query` instance.