WordPress at Your Fingertips
function is not described

Action_Scheduler\Migration

Scheduler::hook() public WC 1.0

Set up the callback for the scheduled job.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of Scheduler::hook() WC 6.1.1

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