wzkb_ai_visitor_ip
Filter the IP address used to rate-limit Ask the Docs.
Sites behind a proxy or CDN can return the client IP from a trusted header here.
Type: filter
Since: 3.2.0
Source: includes/pro/ai/class-usage-limits.php line 60
Parameters
| Type | Name | Description |
|---|---|---|
string |
$ip |
IP address from REMOTE_ADDR. |
Usage
add_filter( 'wzkb_ai_visitor_ip', function($ip) {
// ...
return $ip;
} );