Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Appointments + Modify Headers
add_filter( 'app_message_headers', 'custom_headers' );
function custom_headers( $message_headers ){
$extra_mail = "admin@example.com" ;
return $message_headers."CC: ".$extra_mail."\n" ;
}
@JudeRosario

This comment has been minimized.

Copy link
Owner Author

JudeRosario commented Apr 1, 2015

Just copy/paste the code into the functions.php file of your child theme or a site specific plugin if you use one and put your own email address at $extra_mail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.