Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • admin

    Contact Form 7 – Add custom function on email send.

    We can add custom PHP function by action hooks wpcf7_before_send_mail and wpcf7_mail_sent

    Method 1: Action before send Mail:


    Method 2: Action after sent Mail:

    do_action( 'wpcf7_mail_sent', $contact_form );  defined in /includes/submission.php  file.

    Here $contact_form variable is WPCF7_ContactForm class object.


    @silvio111086 Contact form 7 not saving data to the folder (disk) permanently. You need to install cfdb7 plugin and custom plugin also. I can develop a custom plugin. Please feel free to PM.
    Skype: arshidkv12


    Contact Form 7 Drag and Drop Files Upload

    Filedrop addon will help you to enable drag and drop files upload functionality. JavaScript will handle errors.

    Download URL:


    Contact form 7 code generator

    Just go to
    and paste your html form code it will convert to cf7 shortcode.

    Contact form 7 checkbox value in email

    Add checkbox name shortcode to mail section message body.
    Example cf7 shortcode [checkbox checkbox-403] the n we want add [checkbox-403] in message body.


    Contact form 7 autoresponder hook


Viewing 3 posts - 1 through 3 (of 3 total)