WordPress at Your Fingertips
function is not described

WC_Action_Queue::schedule_recurring() public WC 1.0

Schedule a recurring action

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

No Hooks.

Return

String. The action ID.

Usage

$WC_Action_Queue = new WC_Action_Queue();
$WC_Action_Queue->schedule_recurring( $timestamp, $interval_in_seconds, $hook, $args, $group );
$timestamp(int) (required)
When the first instance of the job will run.
$interval_in_seconds(int) (required)
How long to wait between runs.
$hook(string) (required)
The hook to trigger.
$args(array)
Arguments to pass when the hook triggers.
Default: array()
$group(string)
The group to assign this job to.
Default: ''

Code of WC_Action_Queue::schedule_recurring() WC 5.9.0

public function schedule_recurring( $timestamp, $interval_in_seconds, $hook, $args = array(), $group = '' ) {
	return as_schedule_recurring_action( $timestamp, $interval_in_seconds, $hook, $args, $group );
}