ActionScheduler_Abstract_Schedule::calculate_next() protected WC 1.0
Calculate when the next instance of this schedule would run based on a given date & time.
{} It's a 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)
- -
Code of ActionScheduler_Abstract_Schedule::calculate_next() ActionScheduler Abstract Schedule::calculate next WC 5.0.0
abstract protected function calculate_next( DateTime $after );