WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Scott Cariss
    Member
    Posted 2 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?

    http://wordpress.org/extend/plugins/contact-form-7/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic