ssss
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -21,10 +21,12 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); | ... | @@ -21,10 +21,12 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); |
| 21 | $email = $submitted_data['your-email']; | 21 | $email = $submitted_data['your-email']; |
| 22 | 22 | ||
| 23 | $subject = 'Important Registration Information'; | 23 | $subject = 'Important Registration Information'; |
| 24 | $message = file_get_contents('registration-confirmation.html'); | 24 | $message = file_get_contents('var/www/html/production/fp-canada/current/wp-content/themes/understrap-child/inc/Registration-Confirmation.html'); |
| 25 | |||
| 25 | $headers_customer = array('Content-Type: text/html; charset=UTF-8'); | 26 | $headers_customer = array('Content-Type: text/html; charset=UTF-8'); |
| 26 | wp_mail( $email , $subject, $message, $headers_customer); | 27 | wp_mail( $email , $subject, $message, $headers_customer); |
| 27 | 28 | ||
| 28 | 29 | ||
| 29 | return 'draft'; | 30 | return 'draft'; |
| 30 | } | 31 | } |
| 32 | ... | ... |
-
Please register or sign in to post a comment