Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

POSIntegration::rest_api_initpublicWC 1.0

Initialize the REST API.

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

Хуков нет.

Возвращает

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

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

$POSIntegration = new POSIntegration();
$POSIntegration->rest_api_init(): void;

Код POSIntegration::rest_api_init() WC 10.5.2

public function rest_api_init(): void {
	// Only load the controller when necessary.
	$this->container->get( ApiController::class )->register_routes();
}