Created
November 14, 2014 21:44
-
-
Save strangerstudios/98a7d58a81b5becd5d0f to your computer and use it in GitHub Desktop.
Disable the PMPro redirect from default WordPress register page to PMPro levels page.
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
//add this line to your active theme's functions.php or a custom plugin | |
add_filter('pmpro_register_redirect', '__return_false'); |
Note: You might need to increase the priority of this to 20 or higher if you have other add ons or code hooking into pmpro_register_redirect that you also want to disable.
I guess you mean "proc_nice (-20);" but how to insert it on the code please? At the moment, the code doesn't work for me :(
@whimsicial you may follow this guide - https://www.paidmembershipspro.com/create-a-plugin-for-pmpro-customizations/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome! Did the job perfectly! Thank you so much :)