skip to Main Content
< All Articles
Print

rem_email_sender_email

This filter can be used to change the sender email address used in Emails. By default, REM uses WordPress admin’s email address for sending emails.

Arguments

  1. Admin Email Address [String]

Example

The following code will set the “from email address” in emails as rem@webcodingplace.com. Please paste the following code in your theme’s functions.php file.

add_filter( 'rem_email_sender_email', 'rem_change_sender_email', 10, 1 );

function rem_change_sender_email($email){
	return 'rem@webcodingplace.com';
}

 

Quick Navigation
Back To Top