1. Home
  2. Car Demon Code Docs
  3. Actions
  4. cd_mail_complete

cd_mail_complete

This action is called after each Car Demon contact form has been sent.

do_action(‘cd_mail_complete’, $type, $to, $subject, $email_body, $headers, $from, $post_id, $send_to_name);

Parameters

$type – The form that was submitted:┬ácontact_us, finance, parts, qualify, service_appointment, trade_form, contact_us_vehicle, email_a_friend
$to – The email address the form was sent to.
$subject – The subject of the email.
$email_body – The body of the email message.
$headers – The headers for the email.
$from – The email address it was sent from.
$post_id – The vehicle’s post id, if provided.
$send_to_name – The name of the person the email was sent to.

No code sample at this time
Was this article helpful to you? Yes No

How can we help?