con
(@conschneider)
Engineer
OK I can see it working on your end. I’ve been testing on an existing test user without any luck. I will try it on a new user.
👍. Here is the plugin code for good measure.
<?php
/**
* Plugin Name: No Woo Wizard
* Description: Filter to disable Woo Wizard
* Version: 1.0
* Tested up to: 5.3
* WC tested up to: 4.2
* WC requires at least: 3.0
* License: GNU General Public License v3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
if ( ! defined( 'WPINC' ) ) { die; }
add_filter( 'woocommerce_enable_setup_wizard', 'mywoo_disable_wizard' );
function mywoo_disable_wizard(){
return false;
}
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Hey guys i’m seeing the same issue. SO is it possible to get one of your engineers to address this issue?
I have the following two filters in my functions files of the themes which in theory should stop the wizard but..dont.
Also note I the user has started the wizard but stopped at step 3. So the expected result should be for the wizard to no longer redirect after the filter is active.
add_filter( 'woocommerce_enable_setup_wizard', function( $true ) { return false; }, 999 );
add_filter( 'woocommerce_prevent_automatic_wizard_redirect', '__return_false', 999 );
Want to get this resolved, thanks guys.
Hello everyone,
WP version: 5.6.2
WOO Version: 4.9.2
Same issue here and I can’t track where it triggers, it’s supposed to trigger on:
\wp-content\plugins\woocommerce\packages\woocommerce-admin\src\Features\Onboarding.php line 158
But it never got to this line debugging the code.
My code:
// Disable Setup Wizard
function KsMWcExtenderAdminFilterWoocommerceEnableSetupWizard($true)
{
return false;
};
add_filter('woocommerce_enable_setup_wizard', 'KsMWcExtenderAdminFilterWoocommerceEnableSetupWizard', 20, 1);
function KsMWcExtenderAdminFilterWoocommercePreventAutomaticWizardRedirect($false)
{
return true;
}
add_filter('woocommerce_prevent_automatic_wizard_redirect', 'KsMWcExtenderAdminFilterWoocommercePreventAutomaticWizardRedirect', 20, 1);
Any suggestion?
Regards,
Lucas
-
This reply was modified 5 years, 3 months ago by
onsterion.
-
This reply was modified 5 years, 3 months ago by
onsterion.
Hi
This still seems to not work on multisite. Has anyone found a solution for this?