WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_RecurringSchedule::__construct() public WC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$ActionScheduler_Abstract_RecurringSchedule = new ActionScheduler_Abstract_RecurringSchedule();
$ActionScheduler_Abstract_RecurringSchedule->__construct( $date, $recurrence, $first );
$date(DateTime) (required)
The date & time to run the action.
$recurrence(mixed) (required)
The data used to determine the schedule's recurrance.
$first(DateTime|null)
(Optional) The date & time the first instance of this interval schedule ran.
Default: null, meaning this is the first instance

Code of ActionScheduler_Abstract_RecurringSchedule::__construct() WC 6.1.0

public function __construct( DateTime $date, $recurrence, DateTime $first = null ) {
	parent::__construct( $date );
	$this->first_date = empty( $first ) ? $date : $first;
	$this->recurrence = $recurrence;
}