WordPress at a glance
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 5.0.0

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