Automattic\WooCommerce\Internal\Checkout

DateFormatLimit::__construct │ public │ WC 11.2.0

Sets the comparison and its limit.

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

Хуков нет.

Возвращает

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

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

$DateFormatLimit = new DateFormatLimit();
$DateFormatLimit->__construct( $keyword, $limit );
$keyword(строка) (обязательный)
The comparison keyword.
$limit(строка|JsonPointer) (обязательный)
The date limit or data reference.

Список изменений

С версии 11.2.0 Введена.

Код DateFormatLimit::__construct() WC 11.2.2

public function __construct( string $keyword, $limit ) {
	$this->keyword = $keyword;
	$this->limit   = $limit;
}