Last active
January 9, 2020 22:28
-
-
Save NickGreen/984e5a9374938926de26fe929b4904b5 to your computer and use it in GitHub Desktop.
Prevent items from being removed from subscription
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 copy this line | |
add_filter( 'wcs_can_items_be_removed', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment