Automattic\WooCommerce\Internal\ProductFeed\Mapping

UcpProductMapper::__construct │ public │ WC 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$UcpProductMapper = new UcpProductMapper();
$UcpProductMapper->__construct( $currency, ?ProductSchema $schema );
$currency(строка)
ISO 4217 currency code; '' uses the store currency.
По умолчанию: ''
?ProductSchema $schema
.
По умолчанию: null

Код UcpProductMapper::__construct() WC 11.3.0

public function __construct( string $currency = '', ?ProductSchema $schema = null ) {
	$this->currency = $currency;
	$this->schema   = $schema;
}