send form name to zapier
-
I know that by adding the [hidden form_name “Form Title”] field I can add and send to any value. However, I need to send the form name specifically in this field.
I have tried to work around this by:add_filter(‘wpcf7_posted_data’, function($data) {
$form = wpcf7_get_current_contact_form();
$data[‘form_name’] = $form->title();
return $data;
}
);but then a blank field is provided in the zapier, the form name correctly appears on the e-mail. Any idea how can I send the name of the form to the zapier?
- The topic ‘send form name to zapier’ is closed to new replies.