WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Scheduler::unhook() public WC 1.0

Remove the callback for the scheduled job.

{} It's a method of the class: Scheduler{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of Scheduler::unhook() WC 6.1.1

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