Action_Scheduler\Migration

Scheduler::hookpublicWC 1.0

Set up the callback for the scheduled job.

Method of the class: Scheduler{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Scheduler::hook() code WC 10.6.2

public function hook() {
	add_action( self::HOOK, array( $this, 'run_migration' ), 10, 0 );
}