pmpro-buddypress icon indicating copy to clipboard operation
pmpro-buddypress copied to clipboard

Recreate the login_redirect from the core PMPro version prior to 2.3

Open kimcoleman opened this issue 5 years ago • 1 comments

I have had two support tickets now where they are using BuddyPress for user registration and the BuddyPress email activation feature. For versions of PMPro prior to v2.3, the login_redirect functionality more powerfully sent the user to the Membership Levels page after activation. Now, the user is instead taken to the homepage.

Here is a recipe that recreates the pre-2.3 functionality that both users were happy with using: https://gist.github.com/kimcoleman/fbfbbd6cb112e039b049146cae9ba989

Let's have a conversation about whether this exact recipe or something similar should be part of the BuddyPress Integration.

kimcoleman avatar Jul 21 '20 20:07 kimcoleman

Keeping this ticket open, I like the idea of converting this gist to an official snippet (for anyone that needs this functionality).

andrewlimaza avatar Jul 21 '22 11:07 andrewlimaza