wp-browser icon indicating copy to clipboard operation
wp-browser copied to clipboard

[DOC REQUEST] bootstrapActions for woocommerce

Open Mte90 opened this issue 3 years ago • 0 comments

As per PM:

Create a function in your _bootstrap.php:

function woo_disable_wizard() {
	\add_filter( 'woocommerce_prevent_automatic_wizard_redirect', '__return_true' );
}

In your WPLoader:

            bootstrapActions:
              - woo_disable_wizard

In this way woocommerce is activated without the wizard that can generate errors as is changing the output of the page with a redirect.

Mte90 avatar Sep 14 '22 09:09 Mte90