Action_Scheduler\Migration

Scheduler::unhook()publicWC 1.0

Remove the callback for the scheduled job.

Method of the class: Scheduler{}

No Hooks.

Return

null. Nothing (null).

Usage

$Scheduler = new Scheduler();
$Scheduler->unhook();

Scheduler::unhook() code WC 8.7.0

public function unhook() {
	remove_action( self::HOOK, array( $this, 'run_migration' ), 10 );
}