WC_Admin_Setup_Wizard::should_show_wc_admin_onboarding()protectedWC 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.

Should we show the new WooCommerce Admin onboarding experience?

Method of the class: WC_Admin_Setup_Wizard{}

Return

true|false.

Usage

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

Changelog

Deprecated since 4.6.0

WC_Admin_Setup_Wizard::should_show_wc_admin_onboarding() code WC 8.7.0

protected function should_show_wc_admin_onboarding() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	// As of WooCommerce 4.1, all new sites should use the latest OBW from wc-admin package.
	// This filter will allow for forcing the old wizard while we migrate e2e tests.
	return ! apply_filters( 'woocommerce_setup_wizard_force_legacy', false );
}