wzkb_rating_use_proxy_headers
Filter to allow proxy header usage.
Only enable this if you’re behind a trusted proxy/CDN and understand the security implications.
Type: filter
Since: 3.0.0
Source: includes/rating/class-rating.php line 837
Parameters
| Type | Name | Description |
|---|---|---|
bool | $use_proxy_headers | Whether to use proxy headers for IP detection. |
Usage
add_filter( 'wzkb_rating_use_proxy_headers', function($use_proxy_headers) {
// ...
return $use_proxy_headers;
} );