Created
April 17, 2018 04:18
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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