How to disable woocommerce setup wizard?

Member

by rollin , in category: PHP CMS , 7 months ago

How to disable woocommerce setup wizard?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by darrion.kuhn , 7 months ago

@rollin 

To disable the WooCommerce setup wizard, you can add the following code to your theme's functions.php file:

1
2
3
4
5
add_action( 'after_switch_theme', 'disable_woocommerce_setup_wizard' );

function disable_woocommerce_setup_wizard() {
    update_option( 'woocommerce_skip_install_wizard', true );
}


After adding this code, the setup wizard will be disabled and users will not see it when they activate WooCommerce on their site.