WordPress at a glance
function is not described

wc_schedule_recurring_action() WC 1.0

Deprecated from version 2.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Schedule a recurring action

No Hooks.

Return

String. The job ID

Usage

wc_schedule_recurring_action( $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
$group(string)
The group to assign this job to

Changelog

Deprecated 2.1.0

Code of wc_schedule_recurring_action() WC 5.3.0

<?php
function wc_schedule_recurring_action( $timestamp, $interval_in_seconds, $hook, $args = array(), $group = '' ) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'as_schedule_recurring_action()' );
	return as_schedule_recurring_action( $timestamp, $interval_in_seconds, $hook, $args, $group );
}