Emails are empty since the new update
-
Hello, Any idea why the latest update would break my forms emails? Everything is empty on var_dump($form). Emails are going through no problem.
add_action(‘acfe/form/submit/email/form=clients’, ‘my_form_submit’, 10, 3);
function my_form_submit($form, $post_id){date_default_timezone_set(“America/Moncton”);
$name = get_field(‘client_name’);
$last = get_field(‘client_last_name’);
$address = get_field(‘add_full_address’);
$phone = get_field(‘client_phone’);
$phonehome = get_field(‘client_home’);
$followup = get_field(‘followup’);
$followupmessage = sanitize_text_field( $followup[0][‘message’] );
$dateposted = date(‘l jS \of F Y h:i:s A’);
$add_clients = get_field(‘add_clients_email’, ‘option’);
// Retrieve user input
$status = get_field(‘job_status’);
$orderplan = get_field(‘order_plan’);// Email 1
if($status === ‘quote’){}
} else{
}
}`
- The topic ‘Emails are empty since the new update’ is closed to new replies.