Description
Enable Blocklist Spam to send entries that contain blocklisted words to spam rather than returning a validation error.
Usage
Apply to all forms.
add_filter( 'gpb_enable_blocklist_spam', '__return_true' );
Apply to a specific form.
add_filter( 'gpb_enable_blocklist_spam_FORMID', '__return_true' );
Parameters
enable_blocklist_spam bool
Whether Blocklist Spam should be enabled. Defaults to
false
. Returntrue
to enable.form_id int
The ID of the current form being submitted.
Since
This filter is available since Gravity Forms Blocklist 1.3.3.