Skip to content

Instantly share code, notes, and snippets.

@strangerstudios
Created November 14, 2014 21:44
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save strangerstudios/98a7d58a81b5becd5d0f to your computer and use it in GitHub Desktop.
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.
//add this line to your active theme's functions.php or a custom plugin
add_filter('pmpro_register_redirect', '__return_false');
@Peshyy
Copy link

Peshyy commented Dec 13, 2014

Awesome! Did the job perfectly! Thank you so much :)

@ideadude
Copy link

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.

@whimsicial
Copy link

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 :(

@andrewlimaza
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment