ActionScheduler_Abstract_Schedule::calculate_next()protectedWC 1.0

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

Метод класса: ActionScheduler_Abstract_Schedule{}

Хуков нет.

Возвращает

DateTime.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->calculate_next( $after );
$after(DateTime) (обязательный)
-

Код ActionScheduler_Abstract_Schedule::calculate_next() WC 8.7.0

abstract protected function calculate_next( DateTime $after );