SHARE
TWEET

Untitled

a guest Dec 17th, 2018 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4.  * Send copy to Divi's contact form sender.
  5.  */
  6. add_filter( 'et_contact_page_headers', 'change_et_contact_page_headers', 10, 3 );
  7. function change_et_contact_page_headers( $headers, $contact_name, $contact_email ) {
  8.     $headers[] = 'Cc: ' . $contact_email;
  9.     return $headers;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top