How to change WordPress default FROM email address


WordPress is a very flexible blogging platform, but by default, you can’t modify the FROM email adress. If you want to be able to easily change it,

Simply paste the following snippet code into your functions.php file

add_filter( 'wp_mail_from', 'my_mail_from' );
function my_mail_from( $email )
{
    return 'examplemail@mail.com';
}
Advertisements