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?

  • 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. – Johannes Pille Apr 30 '13 at 8:48
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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