2
votes

I have a contact form on a website I'm working on. We're using Contact Form 7 and I've run into a snag. They use the form to register campers and a single user might fill out a form 3 or 4 times with several pieces of information being identical to what was already uploaded.

The Spam filter frequently tags forms as Spam and my client wants me to disable the spam filter on this altogether.

How do I do this? I have deleted akismet, I'm using Re-Captcha as a system to verify people and it still blocks forms as spam.

Any help would be appreciated.

2

2 Answers

1
votes

I faced the same issue while developing. To solve it I added the code below to the functions.php file in the theme directory:

    add_filter('wpcf7_spam', function() { return false; });

wpcf7_spam - Form 7 hook which allows you to change spam check result. Probably it's not a good idea to leave this code on production:)

0
votes

There is no filter on Contact Form 7. May be, you are using external plugin for spam control like Honeypot or your hosting/server making it spam. Possibility is, your hosting/server marks the email as spam. So disable any spam filter of your hosting or contact with your hosting admin.