Concise Antispam



  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.


  1. Upload plugin to plugins directory
  2. Active plugin through the „Plugins“ menu in WordPress


Please, report about any bug to


8. Feber 2021
Thank you so much for this plugin. I didn't notice the email attack on my client's web site until 490,000 messages had been blocked and quite a few had gotten through. The number was increasing by about 3000 per minute, and after enabling this plugin, the incoming messages were just STOPPED, INSTANTLY.
8. September 2020
Works like a charm. It doesn't slow down the page at all and catches all spam with incredible accuracy—I haven't had to delete a single spammy message since installing it. Excellent work!
Lies alle 2 Rezensionen

Mitwirkende & Entwickler

„Concise Antispam“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:


Übersetze „Concise Antispam“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.