WordPress at Your Fingertips
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.

Return

String. The action ID

Usage

$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.
$args(array)
Arguments to pass when the hook triggers.
$group(string)
The group to assign this job to.

Code of WC_Queue_Interface::schedule_single() WC 5.5.2

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