Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

POSIntegration::register_hookspublicWC 1.0

{@inheritdoc}

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

Хуков нет.

Возвращает

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

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

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

Код POSIntegration::register_hooks() WC 10.5.2

public function register_hooks(): void {
	add_action( 'rest_api_init', array( $this, 'rest_api_init' ) );
	$this->container->get( AsyncGenerator::class )->register_hooks();
	$this->container->get( POSProductVisibilitySync::class )->register_hooks();
}