Get filled form before send email
-
Hello
I’m need getting filled form in html before send email.
I,m using this code:
add_action(‘wpcf7_before_send_mail’, ‘create_pdf_file_and_send_it’);function create_pdf_file_and_send_it($cf7) {
if ($cf7->id == 315) {
$cf7->skip_mail = true;
echo $cf7->form_html(array(
‘html_id’ => ‘315’,
‘html_name’ => ‘formularz-1’,
‘output’ => ‘form’));
}
}but i’m getting empty html form.
Sorry from my english is not perfect.
Thanks for help me.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get filled form before send email’ is closed to new replies.