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 8.7.0
public function run_migration() { $migration_runner = $this->get_migration_runner(); $count = $migration_runner->run( $this->get_batch_size() ); if ( $count === 0 ) { $this->mark_complete(); } else { $this->schedule_migration( time() + $this->get_schedule_interval() ); } }