Action_Scheduler\Migration
Scheduler::hook()
Set up the callback for the scheduled job.
Method of the class: Scheduler{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Scheduler = new Scheduler(); $Scheduler->hook();
Scheduler::hook() Scheduler::hook code WC 9.8.2
public function hook() { add_action( self::HOOK, array( $this, 'run_migration' ), 10, 0 ); }