How to hide the Password Reset in WordPress WP-login
To disable the password reset –
Step 1 – You will find the reset password option below of WordPress login page which you can remove either through plugin or through script.
Step 2 – Adding this script to the functions.php file will hide reset password.
function remove_lostpassword_text ( $text ) { if ($text == 'Lost your password?'){$text = '';} return $text; } add_filter( 'gettext', 'remove_lostpassword_text' );