WC_Admin_Setup_Wizard::install_woocommerce_servicesprotectedWC 1.0

Deprecated since 4.6.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Helper method to install WooCommerce Services and its Jetpack dependency.

Method of the class: WC_Admin_Setup_Wizard{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

Changelog

Deprecated since 4.6.0

WC_Admin_Setup_Wizard::install_woocommerce_services() code WC 10.3.5

protected function install_woocommerce_services() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	$this->install_jetpack();
	$this->install_plugin(
		'woocommerce-services',
		array(
			'name'      => __( 'WooCommerce Services', 'woocommerce' ),
			'repo-slug' => 'woocommerce-services',
		)
	);
}