Contact Form 7 Stop Email Being Sent

To prevent the form sending its email use this in themes functions.php within a function: (might no longer work with WP3.5)

// stop email being sent
$wpcf7->skip_mail = 1;

or put this in the additional settings field of the form

demo_mode: on

Leave a Comment