WC_Admin_Setup_Wizard_Tracking::set_obw_steps()publicWC 1.0

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

Set the OBW steps inside this class instance.

Method of the class: WC_Admin_Setup_Wizard_Tracking{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Admin_Setup_Wizard_Tracking = new WC_Admin_Setup_Wizard_Tracking();
$WC_Admin_Setup_Wizard_Tracking->set_obw_steps( $steps );
$steps(array) (required)
Array of OBW steps.

Changelog

Deprecated since 4.6.0

WC_Admin_Setup_Wizard_Tracking::set_obw_steps() code WC 8.7.0

public function set_obw_steps( $steps ) {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', __( 'Onboarding is maintained in WooCommerce Admin.', 'woocommerce' ) );
	$this->steps = $steps;

	return $steps;
}