WordPress at Your Fingertips
function is not described

ActionScheduler_CronSchedule::calculate_next() protected WC 1.0

Calculate when an instance of this schedule would start based on a given date & time using its the CronExpression.

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

No Hooks.

Return

DateTime.

Usage

// protected - for code of main (parent) or child class
$result = $this->calculate_next( $after );
$after(DateTime) (required)
-

Code of ActionScheduler_CronSchedule::calculate_next() WC 6.1.1

protected function calculate_next( DateTime $after ) {
	return $this->recurrence->getNextRunDate( $after, 0, false );
}