ActionScheduler_Schedule::nextpublicWC 1.0

Get the date & time this schedule was created to run, or calculate when it should be run after a given date & time.

Method of the class: ActionScheduler_Schedule{}

No Hooks.

Returns

DateTime|null.

Usage

$ActionScheduler_Schedule = new ActionScheduler_Schedule();
$ActionScheduler_Schedule->next( ?DateTime $after );
?DateTime $after
.
Default: null

ActionScheduler_Schedule::next() code WC 10.8.1

public function next( ?DateTime $after = null );