Last active
February 17, 2022 10:06
-
-
Save plugin-republic/7138fd16bd80fc8199ddb165e37a875a to your computer and use it in GitHub Desktop.
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 | |
/* | |
* Don't organise child products under parent products | |
*/ | |
remove_action( 'woocommerce_cart_loaded_from_session', 'pewc_cart_loaded_from_session' ); | |
remove_filter( 'woocommerce_cart_item_remove_link', 'pewc_cart_item_remove_link', 10, 2 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment