Plugins

Concise Antispam


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 ConciseAntispam::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 developer@concise-studio.com

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!

Read all 1 review

“Concise Antispam” is open source software. The following people have contributed to this plugin.

Contributors



Source link

All the Admin Templates You Could Ask For.

2M+ items from the worlds largest marketplace for Admin Templates, Themes & Design Assets. Whether that's what you need, or you're just after a few Stock Photos - all of it can be found here at Envato Market.

Related Articles

Check Also
Close
Back to top button