Skip to content

Instantly share code, notes, and snippets.

@danielmcclure
Created April 17, 2018 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielmcclure/ab6d9aed439834904c0bbed6ad1066a8 to your computer and use it in GitHub Desktop.
Save danielmcclure/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