Contact Form 7
How to Throw an error in `wpcf7_before_send_mail` (1 post)

  1. Scott Cariss
    Posted 4 years ago #

    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic