WC_DateTime::__toString()
Output an ISO 8601 date string in local (WordPress) timezone.
Description Description
Return Return
(string)
Source Source
File: includes/class-wc-datetime.php
public function __toString() {
return $this->format( DATE_ATOM );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |