This page may contain affiliate links. Please read my disclaimer for more information.

Gravity Forms Spam Notifications

  |  by Chris Eggleston

Problem

When using many of the spam prevention methods available for Gravity Forms (i.e. honeypot, Akismet, Zero Spam, etc.), entries are either ignored or saved to the spam folder.

The problem arises when a valid submission is marked as spam. Out of the box, when an entry is marked as spam, Gravity Forms displays the default confirmation, and no notifications are sent.

Solution

Thanks to the wizards over at Gravity Wiz, you can use a simple code snippet to send notifications when an entry is marked as spam.

This will only work when the entry is marked as spam as part of the initial form submission. Meaning, that if you mark an entry as spam, this code will not trigger the spam notification.

Works With:

These are the spam prevention methods we’ve tested and know this code works with.

  • Akismet
  • Zero Spam
  • Honeypot (when configured to save entry*)
  • reCAPTCHA

*This will only work for the honeypot setting if you have selected the option to Create an entry and mark it as spam.

The Code

You can grab the code on the Gravity Wiz website, there is also a tutorial on how to use the code. View The Code & Tutorial

The code can be placed in your themes functions.php file, but we always recommend using a functionality plugin like WPCodeBox or WPCode.

The Notification

The code snippet adds a new Notification Event to the notification configuration settings.

Create a new notification and select the Entry marked as spam event.

Need More Help?

If you need help using the snippet, you can reach out to the wizards at Gravity Wiz here.

If you have an active Gravity Forms license, and the issue is related to a Gravity Forms core functionality you can also open a support ticket here.

If you still need help and Gravity Forms support isn’t an option, feel free to use the comments or chat options below.

Photo of author
About the Author
Chris Eggleston
Chris is not just a Gravity Forms enthusiast; he's a dedicated father and loving husband. As the proud owner of WP Mantis, he's on a mission to simplify the WordPress experience for site owners. He brings a unique perspective to the Gravity Forms community.

Advertisement

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments