woocommerce_setup_wizard_force_legacy filter-hook . WC 1.0
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.
Usage
add_filter( 'woocommerce_setup_wizard_force_legacy', 'filter_function_name_8791' ); function filter_function_name_8791( $false ){ // filter... return $false; }
- $false
- -
Where the hook is called
woocommerce_setup_wizard_force_legacy
woocommerce/includes/admin/class-wc-admin-setup-wizard.php 184
return ! apply_filters( 'woocommerce_setup_wizard_force_legacy', false );