Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog
POSIntegration::register_hooks
{@inheritdoc}
Method of the class: POSIntegration{}
No Hooks.
Returns
null. Nothing (null).
Usage
$POSIntegration = new POSIntegration(); $POSIntegration->register_hooks(): void;
POSIntegration::register_hooks() POSIntegration::register hooks code WC 10.7.0
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();
}