Action_Scheduler\Migration
Scheduler::run_migration
The migration callback.
Метод класса: Scheduler{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Scheduler = new Scheduler(); $Scheduler->run_migration();
Код Scheduler::run_migration() Scheduler::run migration WC 11.0.1
public function run_migration() {
$migration_runner = $this->get_migration_runner();
$count = $migration_runner->run( $this->get_batch_size() );
if ( 0 === $count ) {
$this->mark_complete();
} else {
$this->schedule_migration( time() + $this->get_schedule_interval() );
}
}