How do I connect contact form 7 after sending?
You can fetch any of the data from this variable when it is necessary. Now add the function to the action hook: add_action( 'wpcf7_before_send_mail', 'cspd_call_after_for_submit' ); All the code you put inside your function will be run after the submitting of Contact Form 7 and before sending form data to the email.