0

after clicking on the reset password option in WP, we're getting this link

wp-login.php?action=rp&key=[theKey]&login=testing>

instead of getting this can we alter it to something link to out custom page?

1
  • Did you search this stack? Have you seen this Q&A, for instance? If so, please elaborate on how the answer does not apply to your situation. What have you tried so far? Giving a bit more information on what is you want to exactly do will certainly increase the likelihood of a quality answer. Commented Apr 30, 2013 at 8:48

1 Answer 1

0

Try this

add_filter( 'lostpassword_url', 'lostpass_url_fix');
function lostpass_url_fix( $link ){
    return 'http://example.com';
}

Just replace the example.com with any url you want

Not the answer you're looking for? Browse other questions tagged or ask your own question.