WordPress at a glance
function is not described

WC_Queue_Interface::schedule_single() public WC 1.0

Schedule an action to run once at some time in the future

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

No Hooks.


String. The action ID


$WC_Queue_Interface = new WC_Queue_Interface();
$WC_Queue_Interface->schedule_single( $timestamp, $hook, $args, $group );
$timestamp(int) (required)
When the job will run.
$hook(string) (required)
The hook to trigger.
Arguments to pass when the hook triggers.
The group to assign this job to.

Code of WC_Queue_Interface::schedule_single() WC 5.0.0

public function schedule_single( $timestamp, $hook, $args = array(), $group = '' );