Created
December 31, 2017 20:13
-
-
Save ideadude/4509ae47ed0a94817c0c3b714cd38ff5 to your computer and use it in GitHub Desktop.
Tell the PMPro Proration Add On that every level change is a "downgrade" or sidegrade.
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
/* | |
Tell the PMPro Proration Add On that every level change is a "downgrade" or sidegrade. | |
This will cause the PMPro checkout to always charge $0 for level changes, while setting up | |
a subscription to charge the new plan price on the next payment date. | |
This is useful if you have all recurring membership levels that are basically payment plans vs | |
differently priced levels. | |
Add this code to a custom plugin. | |
*/ | |
add_filter('pmpro_is_downgrade', '__return_true'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment