Automattic\WooCommerce\Internal\Admin\Onboarding

OnboardingJetpack::set_woocommerce_setup_jetpack_opted_in()publicWC 1.0

Sets the woocommerce_setup_jetpack_opted_in to true when Jetpack connects to WPCOM.

Method of the class: OnboardingJetpack{}

No Hooks.

Return

null. Nothing.

Usage

$OnboardingJetpack = new OnboardingJetpack();
$OnboardingJetpack->set_woocommerce_setup_jetpack_opted_in();

OnboardingJetpack::set_woocommerce_setup_jetpack_opted_in() code WC 7.1.0

public function set_woocommerce_setup_jetpack_opted_in() {
	update_option( 'woocommerce_setup_jetpack_opted_in', true );
}