• Resolved onsterion

    (@onsterion)


    Hello everyone,

    WP version: 5.6.2
    WOO Version: 4.9.2

    I can’t disable the Setup Wizard 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hey there,

    Just in case you haven’t tried this yet: did you already go to WP Admin ? WooCommerce ? Settings, click Help from the top right, then Setup wizard ? Disable?

    5 easy steps to disable the WooCommerce setup wizard

    Thread Starter onsterion

    (@onsterion)

    Hi @eastofwest,

    When I enter Woocommerce, the configuration wizard is automatically activated, the only way to enter the configuration is to pass the URL “admin.php? Page=wc-settings&tab=general”

    In this url, if I click Help -> Setup Wizard -> Deactivate, again the setup wizard is activated.

    I need to find a programmatic way to disable the setup wizard.

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @onsterion. This should be resolved in WooCommerce 5.2.x. Could you please update and let us know if you are still facing this issue?

    Hi @onsterion

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t disable Setup Wizard’ is closed to new replies.