Automattic\WooCommerce\Internal\ProductFeed\Integrations\POSCatalog

AsyncGenerator::register_hookspublicWC 10.5.0

Register hooks for the async generator.

Method of the class: AsyncGenerator{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Since 10.5.0 Introduced.

AsyncGenerator::register_hooks() code WC 10.8.1

public function register_hooks(): void {
	add_action( self::FEED_GENERATION_ACTION, array( $this, 'feed_generation_action' ) );
	add_action( self::FEED_DELETION_ACTION, array( $this, 'feed_deletion_action' ), 10, 2 );
}