WordPress at Your Fingertips
function is not described

WC_Admin_Setup_Wizard::wc_setup_activate_actions() protected WC 1.0

Go to the next step if Jetpack was connected.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->wc_setup_activate_actions();

Code of WC_Admin_Setup_Wizard::wc_setup_activate_actions() WC 5.9.0

protected function wc_setup_activate_actions() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	if (
		isset( $_GET['from'] ) &&
		'wpcom' === $_GET['from'] &&
		class_exists( 'Jetpack' ) &&
		Jetpack::is_active()
	) {
		wp_redirect( esc_url_raw( remove_query_arg( 'from', $this->get_next_step_link() ) ) );
		exit;
	}
}