wp_update_comment_type_batch_size

wp_update_comment_type_batch_size

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_update_comment_type_batch_size') is found 1 times:

  • /wp-includes/comment.php line 3987
    	 * @since 5.5.0
    	 *
    	 * @param int $comment_batch_size The comment batch size. Default 100.
    	 */
    	$comment_batch_size = (int) apply_filters( 'wp_update_comment_type_batch_size', 100 );
    
    	// Get the IDs of the comments to update.
    	$comment_ids = $wpdb->get_col(
    		$wpdb->prepare(
    			"SELECT comment_ID
    			FROM {$wpdb->comments}