How to Change Default WordPress Sender Name and Email Address (wordpress@your-domain.com)

    
// Change the From address. add_filter( 'wpsnippet_mail_from', function ( $original_email_address ) { return 'tim.smith@example.com'; } ); // Change the From name. add_filter( 'wpsnippet_mail_from_name', function ( $original_email_from ) { return 'Tim Smith'; } );

Leave a Reply