14 thoughts on “Add the “Lost Password?” Link to wp_login_form() Output”

  1. jeez… i swear i was so happy to find the codex to easily add this form, and i used php code widget to put it in my side bar… then i was like.. what about lost PW… finally days later i find your article.. Thank YOU!

  2. Thank you very much for this tip.
    For a more dynamic path you can use:

    add_action( ‘login_form_middle’, ‘add_lost_password_link’ );
    function add_lost_password_link() {
    return ‘Lost Password?‘;
    }

  3. Ok, this site doesn’t like the use of WP tag and html so here’s another try:

    add_action( ‘login_form_bottom’, ‘add_lost_password_link’ );
    function add_lost_password_link() {
    return ‘Lost Password?‘;
    }

Leave a Reply to Irina Pironova Cancel reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: