Reply To: How to redirect after registration?
this thread says bp_core_signup_user does not work:
https://wordpress.org/support/topic/how-to-hook-into-add-new-member-in-buddypress
the weird thing is, it’s doing something (because it goes to the login page with the hack, and to the activation page without the hack).
So i think bp_core_signup_user is working. The issue appears to be bp_core_redirect.
Paul Gibbs, Keymaster, suggests bp_core_redirect might get called in the wrong place– “too high up in the stack”. The OP also mentions that wp_redirect works, and in fact wp_redirect works for me.
So, unless there’s some special reason why i should not use wp_redirect, that’s my fix.
why does bp_core_redirect even exist, if wp_redirect is available? I assume it has some special function that wp_redirect cannot do. right?
any ideas why it doesn’t work in this scenario? Maybe something wrong with those parameters i’m passing it, 100 and 1? What are those params? Where can i find documentation for bp_core_redirect? can’t find…..
many thx