Filter: gf_zero_spam_client_ip
Filters the client IP address used for rate limiting.
Useful for sites behind Cloudflare, load balancers, or reverse proxies where REMOTE_ADDR is the proxy IP, not the visitor's IP.
Parameters
| Name | Type | Description |
|---|---|---|
| $ip | string | The client IP address. Default: $_SERVER['REMOTE_ADDR']. |
Since
Source
Defined in includes/class-gf-zero-spam-token-endpoint.php at line 178