Last active
July 3, 2019 16:18
-
-
Save sisaacrussell/3836f76e1ed0c1f726e47292f38a12a9 to your computer and use it in GitHub Desktop.
Resolve conflict with YITH Product Addons and WooCommerce Subscriptions
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 | |
/** | |
* Resolve conflict with YITH Product Addons and WooCommerce Subscriptions | |
* Fixes issue where renewal orders are left unpaid upon checkout and a new parent order and subscription is created. | |
* | |
* @author support@yith.com | |
*/ | |
remove_filter( 'woocommerce_order_again_cart_item_data', array( 'YITH_WAPO_Frontend', 're_add_cart_item_data' ), 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment