Replies: 0
Hi, i am thinking to use add_action(“wpcf7_before_send_mail”, “wpcf7_do_something”) to save contact form 7 data in to a custom table database when submit the form. I am a little confuse, I know that the location of the code do_action( ‘wpcf7_before_send_mail’, $contact_form ) is /includes/submission.php, But the location of the code add_action(“wpcf7_before_send_mail”, “wpcf7_do_something”) is the folder of my theme/functions.php, right? Another doubt, in the building of the form where I shall indicate the function add_action(“wpcf7_before_send_mail”, “wpcf7_do_something”)? Is it in the aditional settings? Thank you for your help.