Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog
POSIntegration::rest_api_init
Initialize the REST API.
Метод класса: POSIntegration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$POSIntegration = new POSIntegration(); $POSIntegration->rest_api_init(): void;
Код POSIntegration::rest_api_init() 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();
}