Automattic\WooCommerce\Blocks\AI

Configuration::enable_connection_feature()privateWC 1.0

Initialize Jetpack's connection feature within the WooCommerce Blocks plugin.

Method of the class: Configuration{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->enable_connection_feature();

Configuration::enable_connection_feature() code WC 9.4.2

private function enable_connection_feature() {
	$this->config->ensure(
		'connection',
		array(
			'slug' => 'woocommerce/woocommerce-blocks',
			'name' => 'WooCommerce Blocks',
		)
	);
}