Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Below is a WordPress snippet that allows you to remove the lost your password text from the login screen, just add the following in your functions.php file.

    function remove_lostpassword_text ( $text ) {
    	 if ($text == 'Lost your password?'){$text = '';}
    		return $text;
    	 }
    add_filter( 'gettext', 'remove_lostpassword_text' );

    Regards,
    Hardeep

    Thread Starter elvis75

    (@elvis75)

    Thanks! That removed the Lost your password link.

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Amazing. Please consider leaving a review if you like the plugin. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Lost your password Link?’ is closed to new replies.