Does given processed form contain spam?
- Returns name of spam filter that was triggered if yes.
- Returns blank string if no.
Note: form will fail silently if spam is detected, unless spam filter adds $form->error().
Available since version 0.4.7.
Usage
$string = $formBuilderProcessorSpam->isSpam(InputfieldForm $form);
Arguments
Name | Type(s) | Description |
---|---|---|
form | InputfieldForm |
Return value
string
FormBuilderProcessorSpam methods and properties
API reference based on ProcessWire core version 3.0.236