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


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. Apr 30, 2013 at 8:48

1 Answer 1


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 and acknowledge you have read our privacy policy.

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