Reply To: Resend activation email
Update: nvm it only worked flawlessly when I had it all to the default wp-login.php.
When someone registers to my site they are redirected to my buddypress register.php and within that page is would say thank you for registering please check your email for activation link.
I wanted to place a resend activation email on the same page so I placed this code in that register.php file
$resend_url=( ‘If you have not received an email yet, click here to resend it.’, ‘buddypress’ ), esc_url( $resend_url ) );
The problem is ran into is the plugin wp security I use has an option to change the wp-login.php to whatever I want so I just renamed it to /login.
I then changed the wp-login.php in the code to login?action and the linked redirected to the correct wp-login now the /login page but never sent the resent activation email.
I also have it when a user trys to login without activating first it would post an error on the login popup with the resend activation email, if I keep wp-login.php it works but if I change the wp-login.php to just /login it won’t work.
Those two issues have me confused. I’m totally new to php and recently been studying as much as I can but all the documentation out there had me struggling to Figuer this out.
Does anyone by chance have any insight on this?