Skip to content

Instantly share code, notes, and snippets.

@danieljwonder
Created April 17, 2018 04:18
Show Gist options
  • Select an option

  • Save danieljwonder/ab6d9aed439834904c0bbed6ad1066a8 to your computer and use it in GitHub Desktop.

Select an option

Save danieljwonder/ab6d9aed439834904c0bbed6ad1066a8 to your computer and use it in GitHub Desktop.
Prevent IP address from being stored by Gravity Forms to assist with GDPR compliance
<?php
/* Prevent IP address from being stored by Gravity Forms to assist with GDPR compliance */
add_filter( 'gform_ip_address', '__return_empty_string' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment