wordpress / latest / classes / ixr_date / __construct.html

IXR_Date::__construct( $time )

PHP5 constructor.

Source

File: wp-includes/IXR/class-IXR-date.php. View all references

function __construct( $time )
{
    // $time can be a PHP timestamp or an ISO one
    if (is_numeric($time)) {
        $this->parseTimestamp($time);
    } else {
        $this->parseIso($time);
    }
}

Used By

Used By Description

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/ixr_date/__construct