Skip to main content

Filter: gf_zero_spam_check_order

Filters the order in which the spam checks run during form submission.

The order is resolved once per request when the first check registers its gform_entry_is_spam callback, so add this filter before Gravity Forms loads. Invalid values (missing, duplicate, or unknown slugs) are ignored.

Parameters

NameTypeDescription
$orderarrayThe check slugs in run order. Must contain 'token', 'shield', and 'ai' exactly once each.

Since

  • 1.10.0

Source

Defined in includes/class-gf-zero-spam-addon.php at line 252