Articles of lost password

Which Filter Do I Use To Modify The Subject Of The Retrieve Password Notification Email?

I am looking for the filter that enables me to modify the subject of the “Retrieve Password” notification Email. If you know which filter to use, please let me know.

How can I change the email sender name from wordpress to (myblogname) on the “lost password” email?

When a user loses their password in wordpress, you are prompted to enter your email or username. When the password reset email has been sent, it displays “wordpress” as a sender name. I want my website or blogname to replace that instead. I would rather send my own personal email and link to the users […]

Resend password chosen by WP administrator?

This question already has an answer here: user change password email when reset by admin 3 answers

Can't reset WordPress password

I haven’t logged onto my blog for years, and have, of course, forgotten the password. I click the ‘Forgot’ button and get a mail with a link, but that mail already says Sorry, that key does not appear to be valid. And sends me round the click to reset, receive a mail, click the link […]

Requiring wp-login.php sends headers automatically

I’m creating a custom password reset page on a site, and am trying to leverage retrieve_password() to send the reset email. Upon sending the reset email, I’d like to wp_redirect the user back to the login page with a flash message telling them to check their email. Herein lies the problem: If you take a […]

“Lost password” page triggers 404

I have a WP 4.5.3 with Wiz theme and two other plugins (other than the ones bundled with Wiz): WP Customer Area and WP-Members. Try clicking “Lost password”, you get a 404. I’ve googled for the problem, and the results suggest a plugin conflict. I’ve tried disabling both of the user-management related plugins, but […]

lostpassword_redirect filter is not used

I’m trying to redirect a user after they have reset their password. I’m using the following code, based on an example from the wordpress docs. add_filter( ‘lostpassword_redirect’, ‘my_redirect_home’ ); function my_redirect_home( $lostpassword_redirect ) { return home_url() . ‘/my-account/’; } As far as I can tell, the filter is never hit. I’ve tried replacing the return […]

Is it possible to rebuild the website while not accesseing the original database?

Suppose I have forgotten the wordpress admin username and password, is it possible to rebuild the website (create a new database and delete/replace the original wordpress folder) while not accessing the original database?

What is the CODEX intercept for wp-login.php?action=lostpassword

I want to write a plugin hook for wp-login.php?action=lostpassword. Does anyone know what the add_action() is for wp-login.php?action=lostpassword? I searched the CODEX and could not discover it. Thank you.

How to validate custom field on lost password form before the user id field?

I have added a custom field to the lost password form (using the action lostpassword_form) and I am validating this field with the filter allow_password_reset. It is working but I want my field to be checked first, before the user id field. So for example if both fields are empty I want my error to […]