WC_DateTime::getOffsetTimestamp()
Get the timestamp with the WordPress timezone offset added or subtracted.
Description Description
Return Return
(int)
Source Source
File: includes/class-wc-datetime.php
public function getOffsetTimestamp() { return $this->getTimestamp() + $this->getOffset(); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |