Created
November 27, 2017 14:52
-
-
Save dennisnissle/01d28cba32c20e4a7a308eb4bf86de3e to your computer and use it in GitHub Desktop.
Disable instant order confirmation in Germanized
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_gzd_instant_order_confirmation', 'my_child_disable_instant_order_confirmation', 1, 10 ); | |
function my_child_disable_instant_order_confirmation( $disable ) { | |
return false; | |
} | |
?> |
Can be simplified:
add_filter( 'woocommerce_gzd_instant_order_confirmation', '__return_false' );
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thank you so much