quform_get_client_ip

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

  • $ipstring – the current IP address
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy