Return to Snippet

Revision: 51322
at September 21, 2011 03:43 by RainyDayMedia

Initial Code
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 Blog Name';

Initial URL

Initial Description
Add to the bottom of the your theme's function.php file. Change to your site's name

Initial Title
Change Wordpress default FROM email address

Initial Tags
email, php, wordpress

Initial Language