[Plugin: Contact Form 7] How to Throw an error in `wpcf7_before_send_mail`
-
I’m currently hooking into
wpcf7_before_send_mail
.I’m processing some data where something could potentially go a miss and if that does happen I want to throw back an error to CF7 and to the user saying there was an error for X reason and the form couldn’t be submitted and to try again.
I cannot see anyway to do this. How can I do this?
- The topic ‘[Plugin: Contact Form 7] How to Throw an error in `wpcf7_before_send_mail`’ is closed to new replies.