Created
September 8, 2022 05:39
-
-
Save pramodjodhani/936cefc5bf00e46ca080cd0d8fe394a5 to your computer and use it in GitHub Desktop.
Flux checkout - remove coupon form.
This file contains hidden or 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 | |
/** | |
* Flux checkout - remove coupon form. | |
* | |
* @return void | |
*/ | |
function flux_remove_coupon_form() { | |
remove_action( 'woocommerce_review_order_after_cart_contents', array( 'Iconic_Flux_Sidebar', 'checkout_add_coupon_form' ), 9 ); | |
} | |
add_action( 'init', 'flux_remove_coupon_form', 20 ); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment