Skip to main content

Filter: gf_zero_spam_fallback_token_ttl

Filters the fallback token TTL embedded in the page HTML.

The fallback token is used when the AJAX token fetch fails. Its TTL should exceed the longest page cache duration on the site.

Parameters

NameTypeDescription
$ttlintFallback token lifetime in seconds. Default 604800 (7 days).

Since

Source

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