Last active
April 14, 2020 06:51
-
-
Save rafaehlers/9e57eaf90dbeb3ca2172dfa05944297a to your computer and use it in GitHub Desktop.
Modify the FROM address from entry notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // DO NOT COPY THIS LINE | |
add_filter( 'gravityview/field/notes/email_content', 'gv_modify_notes_email_content', 10, 4 ); | |
function gv_modify_notes_email_content( $email_settings ) { | |
extract( $email_settings ); | |
$email_settings['from'] = '[email protected]'; | |
$email_settings['from_name'] = 'GravityView Website'; | |
/* | |
$email_settings['to'] = $to; //[email protected] | |
$email_settings['bcc'] $bcc; //[email protected] | |
$email_settings['reply_to'] = $reply_to; //[email protected] | |
*/ | |
return $email_settings; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment