• Hi

    Is there a way to change the default subject for the email that is sent when a Password Reset is requested? It is currently ‘[Site title] Password Reset’, but a large Australian organisation, to which several of my users belong, has put a block on all ‘Password Reset’ emails. I am hoping that if I can change the subject line I will be able to circumvent the block.

    Thanks

    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • I searched WordPress core for the phrase “Password Reset” and found that there’s a filter called retrieve_password_title

    Here’s code that replaces “Password Reset” with “Help Logging In.” You can add this to your functions file or use the Code Snippets plugin.

    add_filter('retrieve_password_title', 'wpsf_update_retrieve_password_title');
    function wpsf_update_retrieve_password_title($title)
    {
    	return str_replace('Password Reset', 'Help Logging In', $title);
    }
    Thread Starter alphi

    (@alphi)

    Ricky!!! Fantastic ??
    Now to see if the emails get through.
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Password Reset email – change subject line’ is closed to new replies.