Action_Scheduler\Migration

Scheduler::get_batch_size()privateWC 1.0

Get migration batch size.

Method of the class: Scheduler{}

Return

Int. Number of actions to migrate in each batch.

Usage

// private - for code of main (parent) class only
$result = $this->get_batch_size();

Scheduler::get_batch_size() code WC 7.3.0

private function get_batch_size() {
	return (int) apply_filters( 'action_scheduler/migration_batch_size', 250 );
}