Created
July 12, 2017 22:14
-
-
Save thomasplevy/be4154e98d07c20999fbd19eaed44bff 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 copy this to your functions.php file | |
/** | |
* Prevents students from being able to self-cancel their recurring subscriptions on the student dashboard | |
*/ | |
add_filter( 'llms_allow_subscription_cancellation', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment