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.


Top ↑

Source

File: wp-includes/comment.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More