WordPress at a glance
function is not described

wc_schedule_recurring_action() WC 1.0

Deprecated in 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
Default: array()
$group(string)
The group to assign this job to
Default: ''

Changelog

Since DEL 2.1.0 Introduced.

Code of wc schedule recurring action: woocommerce/includes/libraries/action-scheduler/deprecated/functions.php WC 3.7.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 );
}