Enable User-Agent Checking

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' );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.