We use Gravity Forms to collect our support tickets and Akismet to protect our site from spam in comments and the two work excellent most of the time with very very little false positives. The problem is that in our business a false positive means a missed email which translates into an angry customer.
I recently discovered a few emails from some clients in the spam folder of GF so the first thing I thought it was about the wonderful honeypot protection that GF uses and that many times saved me and my clients of receiving tons on spam messages so I went and disabled it for the support form. A few days later I checked again and a new message appeared in spam and then I remember that Akismet works in conjunction with GF to prevent spam.
In order to completely disable spam filter on Gravity Form I will use the gform_akismet_enabled action filter and the __return_false function ( check the other helpers functions that WordPress have )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// disable akismet in all Gravity forms | |
add_filter( 'gform_akismet_enabled', '__return_false' ); | |
// disable in just one form – Replace ## with your form ID | |
add_filter( 'gform_akismet_enabled_##', '__return_false' ); |
So let’s see what happens from now on, I will let you know the results soon!
Leave a Reply