wp_update_comment_type_batch_size
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_update_comment_type_batch_size
wp-includes/comment.php 4122
$comment_batch_size = (int) apply_filters( 'wp_update_comment_type_batch_size', 100 );