Created
July 3, 2019 14:37
-
-
Save plugin-republic/5f60b73fb11dad62cbc0c0e11c48821e to your computer and use it in GitHub Desktop.
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 | |
/** | |
* Don't remove parent items when a child product is removed from the cart | |
*/ | |
add_filter( 'pewc_do_not_remove_parents', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment