https://trepmal.com/2011/04/06/add-the-lost-password-link-to-wp_login_form-output/
add_action( 'login_form_middle', 'add_lost_password_link' ); function add_lost_password_link() { return '<a href="/wp-login.php?action=lostpassword">Lost Password?</a>'; }