WordPress at Your Fingertips
function is not described

WC_Admin_Setup_Wizard::should_show_wc_admin_onboarding() protected WC 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?

{} It's a 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 4.6.0

Code of WC_Admin_Setup_Wizard::should_show_wc_admin_onboarding() WC 5.9.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 );
}