Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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