Can I customize and edit the subject field in the “Password Reset” notification mails sent from our multisite blogs? I have tried some plugins like My brand login and white label CMS etc. But I can’t edit this in password reset notifications .
Does anyone help me understand how to edit it ?
Update:
Today I tried with another installation .But it is not making any change.The Word ‘wordpress’ in from mail address is still there.I have added –
add_filter ( 'wp_mail_from_name', 'my_filter_that_outputs_the_new_name' );
to the code given by Doug .Am I missing something?Could you help me to solve this?
You can change them using a filter. The filter hooks you want to use are:
'retrieve_password_title'
'retrieve_password_message'
'password_reset_title'
'password_reset_message'
Update: To create and use these filters, put the following or similar code in your
functions.php
file:You would do something similar if you also want to modify the follow-up email. Use the WordPress code as a guide for creating the subject line and message (look for the variables
$title
and$message
).