woocommerce_setup_wizard_force_legacy

woocommerce_setup_wizard_force_legacy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_setup_wizard_force_legacy') is found 1 times:

  • /includes/admin/class-wc-admin-setup-wizard.php line 184
    	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 );
    	}
    
    	/**
    	 * Should we display the 'Recommended' step?
    	 * True if at least one of the recommendations will be displayed.
    	 *