wp_update_comment_type_batch_size WordPress Filter Hook
The wp_update_comment_type_batch_size hook allows you to change the number of comments that are updated in a single batch. This can be useful if you need to update a large number of comments and want to do so in smaller batches.
apply_filters( 'wp_update_comment_type_batch_size', int $comment_batch_size ) #
Filters the comment batch size for updating the comment type.
Parameters
- $comment_batch_size
(int)The comment batch size. Default 100.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |