Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Send copy to Divi's contact form sender.
- */
- add_filter( 'et_contact_page_headers', 'change_et_contact_page_headers', 10, 3 );
- function change_et_contact_page_headers( $headers, $contact_name, $contact_email ) {
- $headers[] = 'Cc: ' . $contact_email;
- return $headers;
- }
Add Comment
Please, Sign In to add comment