Sending the reset password link programatically

I have this manually created page: $user_login = sanitize_text_field( $_GET[‘user_login’] ); if ( username_exists( $user_login ) || email_exists($user_login) ) { ?> <!–Everything has been validated, proceed ….–> <!DOCTYPE HTML> <html lang=”en-US”> <head> <meta charset=”UTF-8″> <title></title> <script type=”text/javascript”> function submit() { var f = document.getElementById(‘lostpasswordform’); f.onclick = function () { }; document.lostpasswordform.submit(); } </script> </head> <body … Read more