WordPress at Your Fingertips
function is not described

ActionScheduler_Abstract_Schedule::get_next() public WC 1.0

Get the next date & time when this schedule should run after a given date & time.

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

No Hooks.

Return

DateTime|null.

Usage

$ActionScheduler_Abstract_Schedule = new ActionScheduler_Abstract_Schedule();
$ActionScheduler_Abstract_Schedule->get_next( $after );
$after(DateTime) (required)
-

Code of ActionScheduler_Abstract_Schedule::get_next() WC 6.1.1

public function get_next( DateTime $after ) {
	$after = clone $after;
	if ( $after > $this->scheduled_date ) {
		$after = $this->calculate_next( $after );
		return $after;
	}
	return clone $this->scheduled_date;
}