get_page_of_comment_query_args

get_page_of_comment_query_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('get_page_of_comment_query_args') is found 1 times:

  • /wp-includes/comment.php line 1112
    		 *     @type array  $include_unapproved Array of IDs or email addresses whose unapproved comments
    		 *                                      will be included in paginated comments.
    		 * }
    		 */
    		$comment_args = apply_filters( 'get_page_of_comment_query_args', $comment_args );
    
    		$comment_query       = new WP_Comment_Query();
    		$older_comment_count = $comment_query->query( $comment_args );
    
    		// No older comments? Then it's page #1.
    		if ( 0 == $older_comment_count ) {