Spam Prevention for Contact Form 7 and Comments


Spam Prevention for WP Contact Form 7 and WordPress Comments.
This plugin adds a small code snippet to determine page scroll and add dynamically a unique token.

If the token doesn’t exists while submitting or call directly API then the incoming request will be rejected.

You can see how it works on SiteLint website.



  1. Upload /contact-form-7-prevent-spam folder to the /wp-content/plugins/ directory or install “Spam Prevention for Contact Form 7 and WordPress Comments” plugin in WordPress.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s all.


13 Settembre 2023
Excited to use this tool. Very effective for prevention spam.
13 Settembre 2023
A good plugin developed by the expert, this plugin is a must-have for any WordPress website owner. It's easy to set up, highly effective. Say goodbye to spam headaches and hello to a cleaner, more secure website. I highly recommend it!
Leggi tutte le recensioni di 2

Contributi e sviluppo

“Spam Prevention for Contact Form 7 and Comments” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.


Traduci “Spam Prevention for Contact Form 7 and Comments” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)


  • Set lowest priority for adding SiteLint logo using PHP_INT_MAX


  • Fixing reference to the method handleSubmitContactForm7FormAction


  • Code formatting and updating version info; Tested up to: 6.3


  • Use wp_print_footer_scripts instead of wp_footer to print code


  • Call add_action before function declaration


  • Code formatting and updating version info


  • Change add_action to do_action; return $submission in handleSubmitContactForm7FormAction function


  • Replace empty string for “action” attribute in the


form> with a valid URL “#”


  • Determine, if whole contact form is rendered within current browser viewport and if so then apply solution immediately


  • Initial version of the Plugin