Action_Scheduler\Migration
Controller::maybe_hook_migration()
Possibly hook the migration scheduler action.
Method of the class: Controller{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Controller = new Controller(); $Controller->maybe_hook_migration();
Controller::maybe_hook_migration() Controller::maybe hook migration code WC 9.8.2
public function maybe_hook_migration() { if ( ! $this->allow_migration() || \ActionScheduler_DataController::is_migration_complete() ) { return; } $this->migration_scheduler->hook(); }