ActionScheduler_Schedule{}
Class ActionScheduler_Schedule
No Hooks.
Usage
$ActionScheduler_Schedule = new ActionScheduler_Schedule(); // use class methods
Methods
- public is_recurring()
- public next( ?DateTime $after = null )
ActionScheduler_Schedule{} ActionScheduler Schedule{} code WC 10.3.5
interface ActionScheduler_Schedule {
/**
* Get the date & time this schedule was created to run, or calculate when it should be run
* after a given date & time.
*
* @param null|DateTime $after Timestamp.
* @return DateTime|null
*/
public function next( ?DateTime $after = null );
/**
* Identify the schedule as (not) recurring.
*
* @return bool
*/
public function is_recurring();
}