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
| Parameter | Type | Description |
|---|---|---|
$size | int | Batch size. Default is usually 100 |
Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced |
Usage Example
add_filter('sequra_migration_batch_size', function( $size ){
return 100;
});Updated 5 months ago