WooCommerce::init_jetpack_connection_config()
Initiali Jetpack Connection Config.
Method of the class: WooCommerce{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->init_jetpack_connection_config();
WooCommerce::init_jetpack_connection_config() WooCommerce::init jetpack connection config code WC 9.2.3
public function init_jetpack_connection_config() { $config = new Automattic\Jetpack\Config(); $config->ensure( 'connection', array( 'slug' => 'woocommerce', // Cannot use __() here because it would cause translations to be loaded too early. // See https://github.com/woocommerce/woocommerce/pull/47113. 'name' => 'WooCommerce', ) ); }