WordPress at Your Fingertips
function is not described

WC_Admin::setup_wizard_check_jetpack() public WC 1.0

Check on a Jetpack install queued by the Setup Wizard.

See: WC_Admin_Setup_Wizard::install_jetpack()

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

No Hooks.

Return

null. Nothing.

Usage

$WC_Admin = new WC_Admin();
$WC_Admin->setup_wizard_check_jetpack();

Code of WC_Admin::setup_wizard_check_jetpack() WC 5.9.0

public function setup_wizard_check_jetpack() {
	$jetpack_active = class_exists( 'Jetpack' );

	wp_send_json_success(
		array(
			'is_active' => $jetpack_active ? 'yes' : 'no',
		)
	);
}