Action_Scheduler\Migration
Scheduler::get_batch_size()
Get migration batch size.
Method of the class: Scheduler{}
Hooks from the method
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() Scheduler::get batch size code WC 9.8.2
private function get_batch_size() { return (int) apply_filters( 'action_scheduler/migration_batch_size', 250 ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores }