function use_no_sender( $phpmailer ) { $phpmailer->Sender = "support@gbpets.com"; } add_action( 'phpmailer_init', 'use_no_sender' ); Hello World!