Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

POSIntegration::rest_api_init │ public │ WC 1.0

Initialize the REST API.

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

Хуков нет.

Возвращает

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

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

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

Код POSIntegration::rest_api_init() WC 11.2.2

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