wp_update_comment_type_batch_size filter-hookWP 5.5.0

Filters the comment batch size for updating the comment type.

Usage

add_filter( 'wp_update_comment_type_batch_size', 'wp_kama_update_comment_type_batch_size_filter' );

/**
 * Function for `wp_update_comment_type_batch_size` filter-hook.
 * 
 * @param int $comment_batch_size The comment batch size.
 *
 * @return int
 */
function wp_kama_update_comment_type_batch_size_filter( $comment_batch_size ){

	// filter...
	return $comment_batch_size;
}
$comment_batch_size(int)
The comment batch size.
Default: 100

Changelog

Since 5.5.0 Introduced.

Where the hook is called

_wp_batch_update_comment_type()
wp_update_comment_type_batch_size
wp-includes/comment.php 3987
$comment_batch_size = (int) apply_filters( 'wp_update_comment_type_batch_size', 100 );

Where the hook is used in WordPress

Usage not found.