• Can anyone tell me where I can find the text that is used in the default email templates?

    I am not looking for a plug-in or how to write a plug-in. I am not looking to add images, backgrounds, HTML, or Responsive Design elements. I only want to change 3 little words used in one of the messages. Can anyone help point me to where the text copy for default email messages may be found?

    TIA

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    Many are in wp-includes/pluggable.php . As pluggable functions you merely define your own function with the same name. Some also have filters so you may not need to re-define the entire function.

    If you can sniff out the messages you want to change with code, you could even achieve change with the ‘wp_mail’ filter.

    If your email isn’t in pluggable.php, let us know exactly which message you’re after. Someone probably knows where it is.

    Thread Starter jacaldwell

    (@jacaldwell)

    Thanks, but for the life of me I can’t seem to find the text…

    What I’m looking for is the default “Notice of Password Change” message.

    The first line of the text for that message is, “This notice confirms that your password was changed on [blah blah blah].”

    I just want to change it to say, “This notice confirms that your password was changed.”

    And I’d also like to change, “Regards” and remove the “All at” portion of the signature.

    I can’t believe that finding these little snippets of text can be so difficult…

    TIA for any help!

    Moderator bcworkz

    (@bcworkz)

    Ah, that one is in user.php, sorry for the misdirection to pluggables. You can use the ‘password_change_email’ filter to alter the email content. The filter is applied at line 2244. Using the filter is a bit tricky, but it’s explained in the inline doc above that line.

    Thread Starter jacaldwell

    (@jacaldwell)

    THANK YOU!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Default Email Message Text’ is closed to new replies.