Action_Scheduler\Migration

Controller::maybe_hook_migration()publicWC 1.0

Possibly hook the migration scheduler action.

{} Это метод класса: Controller{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$Controller = new Controller();
$Controller->maybe_hook_migration();

Код Controller::maybe_hook_migration() WC 6.9.4

public function maybe_hook_migration() {
	if ( ! $this->allow_migration() || \ActionScheduler_DataController::is_migration_complete() ) {
		return;
	}

	$this->migration_scheduler->hook();
}