Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
By default, the Use custom headers when retrieving IPs with form submissions option in the Formidable → Global Settings page is hidden when the GDPR IP Storage option is enabled. Use this filter to enable this option and use the GDPR setting while behind a reverse proxy.
Usage
add_filter( 'frm_use_custom_header_ip', '__return_true' );
Parameters
- None
Examples
Basic example
add_filter( 'frm_use_custom_header_ip', '__return_true' );