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, 2023
Excited to use this tool. Very effective for prevention spam.
ستمبر 13, 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!
سارے 2 ریویو پڑھو

Contributors & Developers

“Spam Prevention for Contact Form 7 and Comments” is open source software. The following people have contributed to this plugin.

حصہ پاوݨ آلے

تبدیلی لاگ


  • Adjusting and shortening link text to SiteLint


  • Fixing “class SLSP_SiteLintSpamPreventionPublic does not have a method “handleWpCommentFormSubmitAction””


  • Uploading version verified on WordPress 6.4.2


  • 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