ActionScheduler_DateTime::getOffsetTimestamp()publicWC 3.0.0

Get the timestamp with the WordPress timezone offset added or subtracted.

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

Хуков нет.

Возвращает

int.

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

$ActionScheduler_DateTime = new ActionScheduler_DateTime();
$ActionScheduler_DateTime->getOffsetTimestamp();

Список изменений

С версии 3.0.0 Введена.

Код ActionScheduler_DateTime::getOffsetTimestamp() WC 8.7.0

public function getOffsetTimestamp() {
	return $this->getTimestamp() + $this->getOffset();
}