I am a beginner in wordpress.I’m doing an ecommerce website and the problem is when the user reset their password after changing it a mail has been sent to the user (like your password has been changed).How can i change the email text content when the password is successfully changed and then an email is being sent to the user?
After changing the password the user is getting the following mail-
Hello abc
To inform you that your password has been changed.
If it was not you, please contact the following site administrator.
[email protected]
This e-mail has been sent to [email protected]
2
Answers
You can use this function to modify emails content in your theme functions file (functions.php):
/* Start Of Function for changing the Forgot password mail content */
Just edit below file from root directory located in
/wp-includes/user.php line no. 2009 or search for ‘Hi ###USERNAME###, and you will find the message body as below that you can customize it as you would like.