Update email “from address” sent by wp_mail()
Modify the “from email address” used in the wp_mail() function, using ‘wp_mail_from’ filter.
function wp_mail_from_email( $from_email ) { return '[email protected]'; } add_filter( 'wp_mail_from', 'wp_mail_from_email', 10, 1 );