• Hi, I’m sorry I do not write well English, I’m Spanish and I use google translate

    Many people do not fill out the second form, how can I get them to submit the first form?

    I know I can have duplicate information. But it’s better than losing a client.
    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    You can add the following code in your theme’s functions.php file.

    /**
     * Always receive an email when a CF7 form is submitted.
     */
    function my_wpcf7_posted_data_filter( $posted_data ) {
        $wpcf7 = WPCF7_ContactForm::get_current();
        $wpcf7->skip_mail = false;
        return $posted_data;
    }
    add_filter( 'wpcf7_posted_data', 'my_wpcf7_posted_data_filter' );
Viewing 1 replies (of 1 total)
  • The topic ‘Send data first step’ is closed to new replies.