RBA Cash Rate: 4.35% · 1AUD = 0.67 USD · Inflation: 4.1%  
Leading Digital Marketing Experts | 1300 235 433 | Aggregation Enquires Welcome | Book Appointment
Example Interest Rates: Home Loan Variable: 5.20% (5.24%*) • Home Loan Fixed: 5.48% (6.24%*) • Fixed: 5.48% (6.24%*) • Variable: 5.20% (5.24%*) • Investment IO: 5.78% (6.81%*) • Investment PI: 5.49% (6.32%*)

Change Default WP From Email & Name

By default, WordPress will send emails from a wordpress@yourdomain.com email address. To change this to your or any other email, use the following.

Copy and paste the WordPress function into your theme's functions.php file or, if you sensibly have one installed, your custom functions plugin.

1
<?php 
2
/*
3
 Change default FROM email address and name
4
 http://www.beliefmedia.com/code/wp-snippets/change-wp-email
5
*/
6
 
7
function beliefmedia_mail_from($old) {
8
 return 'name@yourdomain.com';
9
}
10
add_filter('wp_mail_from', 'beliefmedia_mail_from');

The second filter changes the 'from' name (the first changed the email address).

1
<?php 
2
/*
3
 Change default FROM email address and name
4
 http://www.beliefmedia.com/code/wp-snippets/change-wp-email
5
*/
6
 
7
function beliefmedia_mail_from_name($old) {
8
 return 'YourName';
9
}
10
add_filter('wp_mail_from_name', 'beliefmedia_mail_from_name');

Download our 650-page guide on Finance Marketing. We'll show you exactly how we generate Billions in volume for our clients.

  E. Australia Standard Time [ UTC+10, Default ] [ CHECK TO CHANGE ]

  Want to have a chat?
 

Like this article?

Share on Facebook
Share on Twitter
Share on Linkdin
Share on Pinterest

Leave a comment