sequra_migration_batch_size

Hook Filter

Set how many entities will be processed every time the database migration runs

Description

This filter allows overriding the batch size used for database migrations.

Parameters

ParameterTypeDescription
$sizeintBatch size. Default is usually 100

Changelog

VersionDescription
3.2.0Introduced

Usage Example

add_filter('sequra_migration_batch_size', function( $size ){
 return 100;
});