Enable User-Agent Checking
Instructions
See “Where do I put snippets?” in our documentation for installation instructions.
Code
Filename: gpb-enable-user-agent-checking.php
<?php
/**
* Gravity Perks // Blocklist // Enable User-Agent Checking
* https://gravitywiz.com/documentation/gravity-forms-blocklist/
*/
// Update "123" to the form ID.
add_filter( 'gpcb_validate_user_agent_123', '__return_true' );