IXR_Date::__construct()publicWP 1.0

PHP5 constructor.

Метод класса: IXR_Date{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$IXR_Date = new IXR_Date();
$IXR_Date->__construct( $time );
$time (обязательный)
-

Код IXR_Date::__construct() 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);
    }
}