This hook can be used to override or change the the client IP address before it’s displayed or saved.
quform_get_client_ip
Example
1 2 3 | add_filter('quform_get_client_ip', function ($ip) { return $_SERVER['REMOTE_ADDR']; }); |
add_filter('quform_get_client_ip', function ($ip) { return $_SERVER['REMOTE_ADDR']; });
Parameters
$ip
–string
– the current IP address