Tagged: activation, redirect
Hello,
I have tried the auto-activation login but it seems no way (I have tried all settings) to have a redirect after activation via email.
I have read this article about it
and I have 2 questions:
1. Is it addable as snippet with snippet plugin or do I have to add in the .php file?
2. What is the code to send the User to the home page?
Many thanks,
Giuseppe
Hi Giuseppe,
Thank you for the question.You can use auto login on activation plugin(free) and it will help you achieve the same result.
https://buddydev.com/plugins/bp-autologin-on-activation/
Regards
BrajeshHi Giuseppe,
You can dd the following code to redirect to site home.// redirect to site home when auto logging after activation. add_filter( 'bpdev_autoactivate_redirect_url', function ( $url ) { return home_url(); } );
Regards
Brajesh
The topic ‘ [Resolved] Redirect after activation in the email’ is closed to new replies.