IXR_Date::__construct()publicWP 1.0

PHP5 constructor.

Method of the class: IXR_Date{}

No Hooks.

Return

null. Nothing (null).

Usage

$IXR_Date = new IXR_Date();
$IXR_Date->__construct( $time );
$time (required)
-

IXR_Date::__construct() code WP 6.5.2

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