Tuesday, 5 July 2016

How to disable wordpress lost your password ?


I would like to show you how to desable wordpress lost your password, By default on your wordpress login page had link that requests you to reset your password,When ever you want to remove that link from login page then copy this code from here and past it into word press functions.php page

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

 steps to fallow Copy above code from in your website
Login into wordpress website Go to Appearance > select Editor Select functions.php page

Past above code at functions.php page Click update at Editor and See the result

No comments:

Post a Comment