Put it in your theme’s functions.php and update the form id (999999) to your CF7’s form ID.

// skip sending cf7 email
add_filter( 'wpcf7_skip_mail', 'mycustom_wpcf7_skip_mail', 10, 2 );
function mycustom_wpcf7_skip_mail( $skip_mail, $contact_form ) {
	if ( 999999 == $contact_form->id() ) { $skip_mail = true;	}
	return $skip_mail;

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?