ActionScheduler_Abstract_Schedule::calculate_next()protectedWC 1.0

Calculate when the next instance of this schedule would run based on a given date & time.

Method of the class: ActionScheduler_Abstract_Schedule{}

No Hooks.

Return

DateTime.

Usage

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

ActionScheduler_Abstract_Schedule::calculate_next() code WC 8.7.0

abstract protected function calculate_next( DateTime $after );