How To Change The Default WordPress Email Address

Hey, there welcome to pinepl today we are going to show you how to change default email address in wordpress, like [email protected] to [email protected].

Here simple way to change default email address to your email in wordpress, simple paste below code in your wordpress theme function.php file.


// Change The Default WordPress Email Address - Veewom
add_filter('wp_mail_from', 'new_mail_from');
add_filter('wp_mail_from_name', 'new_mail_from_name');

function new_mail_from($old)
{
return '[email protected]';
}
function new_mail_from_name($old)
{
return 'Your Name';
}

Step to Implements Above Code

Here we will show you step by step process to change wordpress default email, so just follow below step and change your email.

#01 Step for Multisite

  1. Login to your wordpress website as network admin.
  2. Go toThemes options.
  3. Click on Editor.
  4. Find function.php file on right side of code editor and open it.
  5. Copy above code and place here for batter understanding see below image.
  6. Replace with your email like [email protected].
  7. Write Your Webiste Name.
  8. Click on Update Button.

How-To-Change-The-Default-Wordpress-Email-Address-Multisite-1-1-1024x486

 

#02  Step for Single Site

  1. Login to Your Website Admin.
  2. Go to Appearance.
  3. Click on Editor.
  4. Find Theme Function on right side of code editor and open it.
  5. Copy above code and place here for batter understanding see below image.
  6. Replace with your email like [email protected].
  7. Write Your Webiste Name.
  8. Click on Update Button.

How-To-Change-The-Default-Wordpress-Email-Address-Single-Site-1-1-1024x486

 

We hope this article helped you learn how to easily change default email in wordpress.