Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘ [Resolved] Change link address of forgot password on user edit page’ is closed to new replies.
This topic is: resolved
I am using my own plugin for registering people to buddypress. So the link “forgot password” at the profil edit page (see image) is wrong. How can I change the URL in this link without beeing overwritten on next bp update?
Thanks for help in advance!!
I did a little code research on this and found out that bp using the wp_lostpassword_url() function to set the url.
I tried this code in functions.php to change the URL but this does not work:
function passurl_wpse_208054($lostpassword_url, $redirect ) {
return 'http://path/to/login/url';
}
add_filter('lostpassword_url', 'passurl_wpse_208054', 10, 2);
Hi Kevin,
Thank you for the reply.
I am glad you found the solution.
Regards
Brajesh
The topic ‘ [Resolved] Change link address of forgot password on user edit page’ is closed to new replies.