Created
January 30, 2018 08:03
-
-
Save kreamweb/e1ebe756c64a28287bc80b3968cd8f42 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 | |
//you can add this code in the file functions.php of your theme | |
if ( class_exists( 'YWSBS_Subscription' ) ){ | |
add_filter( 'ywsbs_cancel_recurring_payment', '__return_true', 99 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment