WordPress at Your Fingertips
function is not described

ActionScheduler_DateTime::getOffsetTimestamp() public WC 3.0.0

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

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

No Hooks.

Return

Int.

Usage

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

Changelog

Since 3.0.0 Introduced.

Code of ActionScheduler_DateTime::getOffsetTimestamp() WC 6.1.1

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