1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

(Help Needed) WordPress Email Notification Flaw

Discussion in 'Programming' started by Palesantos, Jan 21, 2017.

  1. Palesantos

    Palesantos Registered Member

    Joined:
    Dec 22, 2016
    Messages:
    93
    Likes Received:
    3
    Gender:
    Male
    This will be regarding Wordpress Emails Sent to Customers Who Registers An Account Via Wordpress.
    Where can i find the file for this email so i can edit the content and how it shows up to my customers?
    This email will be sent to my customer when they change their email address of their account.
    ————————–
    Hi *AccName*,

    This notice confirms that your email was changed on *website-name*.

    If you did not change your email, please contact the Site Administrator at
    *admin-email*

    This email has been sent to *old-email*

    Regards,
    All at *website-name*
    *website-link*
    ———————-
    Is there anyway to edit content of the email above like not showing admin emails or anything?
    I want to know where this file is located so i can edit it myself.
    I want to hide the admin emails so it does not get leaked.

    I asked someone and he replied:
    You can change the content of that email via a filter. See
    https://developer.wordpress.org/reference/hooks/email_change_email/
    What are filters? http://docs.presscustomizr.com/arti...-filters-and-hooks-a-guide-for-non-developers

    So i'm stuck at what to do to change or remove the line containing the admin email.

    Any help would be appreciated
     
  2. Palesantos

    Palesantos Registered Member

    Joined:
    Dec 22, 2016
    Messages:
    93
    Likes Received:
    3
    Gender:
    Male
    No one can help this poor fellaw?
     
  3. redarrow

    redarrow Elite Member

    Joined:
    Apr 1, 2013
    Messages:
    4,304
    Likes Received:
    984
  4. Palesantos

    Palesantos Registered Member

    Joined:
    Dec 22, 2016
    Messages:
    93
    Likes Received:
    3
    Gender:
    Male
    Yea i think this will work perfectly. Gonna ditch Theme My Login, does not provide much options to change emails. Thanks mate.
     
  5. Palesantos

    Palesantos Registered Member

    Joined:
    Dec 22, 2016
    Messages:
    93
    Likes Received:
    3
    Gender:
    Male
    Another note, this plugin does not help alter it. Only enables and disables which i do not want.

    I STILL NEED HELP FOLKS.
     
  6. mark_iwfhosting

    mark_iwfhosting Newbie

    Joined:
    Feb 25, 2017
    Messages:
    13
    Likes Received:
    1
    Gender:
    Male
    Have a look at this link, think it will help you out! (sorry about the obfuscation am new here)

    h (t) (t) (p) s developer(dot)wordpress(dot)org/reference/functions/wp_new_user_notification