Automattic\WooCommerce\Internal\Admin\Onboarding
OnboardingJetpack::set_woocommerce_setup_jetpack_opted_in()
Sets the woocommerce_setup_jetpack_opted_in to true when Jetpack connects to WPCOM.
Method of the class: OnboardingJetpack{}
No Hooks.
Return
null
. Nothing (null).
Usage
$OnboardingJetpack = new OnboardingJetpack(); $OnboardingJetpack->set_woocommerce_setup_jetpack_opted_in();
OnboardingJetpack::set_woocommerce_setup_jetpack_opted_in() OnboardingJetpack::set woocommerce setup jetpack opted in code WC 9.3.3
public function set_woocommerce_setup_jetpack_opted_in() { update_option( 'woocommerce_setup_jetpack_opted_in', true ); }