(Help Needed) ********* Email Notification Flaw

Posts 1–3 of 3 · Page 1 of 1
(Help Needed) ********* Email Notification Flaw
This will be regarding ********* Emails Sent to Customers Who Registers An Account Via *********.
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.*********.org/refe..._change_email/
What are filters? http://docs.presscustomizr.com/artic...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
Where would this email be sent from? Assuming this is done through PHP, is this done through outlook or gmail SMTP or your own mail server?
Go to /wp-includes/user.php

find
Code:
if ( ! empty( $send_email_change_email ) ) {
	/* translators: Do not translate USERNAME, ADMIN_EMAIL, EMAIL, SITENAME, SITEURL: those are placeholders. */
	$email_change_text = __( 'Hi ###USERNAME###,
		This notice confirms that your email was changed on ###SITENAME###.
		If you did not change your email, please contact the Site Administrator at
		###ADMIN_EMAIL###
		This email has been sent to ###EMAIL###
		Regards,
		All at ###SITENAME###
		###SITEURL###' );
and remove
Code:
###ADMIN_EMAIL###
There are probably more elegant and better ways to do this by some sort of overwriting those functions. Never worked with wp so I cannot really tell.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us