跳到内容

Concise Antispam

v1.0.13

Concise Studio · 2020年8月12日 上架

Very simple antispam plugin. Users do not need to enter any captcha, working completely on background. No need to administer: just install the plugin …

正在使用
20+
评分
5.0 / 5
累计下载
2,578
最近更新
2022年11月2日
2 条评价需要 WordPress 4.1+已测试到 6.0.19PHP 5.6+

贡献者

Algorithm

  1. Plugin generates token on the backend side.
  2. Plugin adds hidden field for token in each form which will use method “POST” after rendering of the page.
  3. Plugin inserts token in the field after user’s interaction with site.

For developers

Antispam will automatically check submissions of the regular forms but ignores all AJAX requests.
If you want to change this behaviour, you can use filter concise_antispam_need_to_validate_token.
See example:

Disable Antispam for some forms:

add_filter("concise_antispam_need_to_validate_token", function($needToValidateToken) {
    if (!empty($_POST['do-not-check-antispam-token'])) {
        $needToValidateToken = false;
    }

    return $needToValidateToken;
});

You can also always manually call \Concise\Antispam::validateTokenOrDie() in your custom handler.

Formidable Forms integration

For proper work disable the honeypot checking in the forms

Plums

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

导航

说明

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

© 2026 Plums