WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Onboarding::set_woocommerce_setup_jetpack_opted_in() public WC 1.0

Sets the woocommerce_setup_jetpack_opted_in to true when Jetpack connects to WPCOM.

{} It's a method of the class: Onboarding{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of Onboarding::set_woocommerce_setup_jetpack_opted_in() WC 5.3.0

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