This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
By default, we now check the hostname based on IP for abandonment entries to prevent Google’s cache from submitting forms inadvertently when links in Gmail are clicked. Users have the option to opt out of this feature using this filter.
Usage
add_filter( 'frm_abandonment_block_google_cache', '__return_false' );
Parameters
- None
Examples
Block Google Cache
Use this code block to resolve two issues:
- Fixes the issue of Google’s bot submitting empty entries when users click on the edit link in their email while logged in.
- Addresses the "You do not have permission to view this form" errors when users are logged out because it would submit the entry using the user's token.
add_filter( 'frm_abandonment_block_google_cache', '__return_false' );