Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

ProductMapper::initpublicWC 1.0

Initialize the mapper.

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

Хуков нет.

Возвращает

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

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

$ProductMapper = new ProductMapper();
$ProductMapper->init(): void;

Код ProductMapper::init() WC 10.5.2

final public function init(): void {
	$this->products_controller   = new WC_REST_Products_Controller();
	$this->variations_controller = new WC_REST_Product_Variations_Controller();
}