跳到内容

Apio systems – Honeypot for Contact Form 7

v1.0.6

Joris Le Blansch · 2025年11月16日 上架

Basic Honeypot plugin for Contact Form 7 to drastically reduce spam on form submissions without user interaction.

正在使用
100+
评分
暂无
累计下载
1,824
最近更新
2026年11月25日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.2+

截图

Spam caught when Honeypot field was filled.
Spam caught when Honeypot field was filled.
Spam caught when the form was submitted too quickly.
Spam caught when the form was submitted too quickly.
Spam caught when too many URLs are present in the message fields.
Spam caught when too many URLs are present in the message fields.
Spam caught when certain keywords are detected.
Spam caught when certain keywords are detected.

I like to use Contact Form 7 on most of my WordPress sites. It’s a powerful form manager that suits all my needs. I don’t like to use external calls to protect the forms from spam submissions though (like reCaptcha or hCaptcha) and don’t want to present a manual captcha to a user (math or other puzzle). Since I couldn’t find a really basic honeypot script that works on most entries, I created one here. Hopefully it’s useful to someone else also.

Setup

  • Install the plugin using the regular plugin setup routine or upload the entire apiosys-honeypot-cf7 folder to the /wp-content/plugins/ directory.
  • Activate the plugin through the “Plugins” menu in WordPress, you MUST have Contact Form 7 AND Flamingo installed and enabled.
  • Add the following shortcodes to your Contact Form 7 forms:

[honeypot] – Adds the hidden honeypot field
[timestamp] – Adds time-based validation

  • Complete the rest of the options which you can find in Admin > Contact > Honeypot. A generally good working set of values is enabled by default there.

What tests are used?

  • A Honeypot Field
  • A Checkbox Trap
  • Time-Based Validation
  • Email domain Check
  • Content Analysis (across all form fields, not just the message)
  • Weak-Signal Scoring (combines many small clues to catch “human-looking” spam)

Does it really work?

It has been tested on several high-traffic WP sites. I see a return of ~ 1 ‰ (i.e. 1 in a thousand) of spam going through. That usually corresponds to humans paid to fill forms or sophisticated bots. Please feel free to contribute to make it even better. You can contribute directly here.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums