Beschrijving
Algorithm
- Plugin generates token on the backend side.
- Plugin adds hidden field for token in each form which will use method “POST” after rendering of the page.
- 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
Installatie
- Upload plugin to plugins directory
- Active plugin through the “Plugins” menu in WordPress
FAQ
Please, report about any bug to developer@concise-studio.com
Beoordelingen
Bijdragers & ontwikkelaars
“Concise Antispam” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Concise Antispam” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.