Recent

wzkb_rating_use_proxy_headers filter Pro only

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

TypeNameDescription
bool$use_proxy_headersWhether to use proxy headers for IP detection.

Usage

add_filter( 'wzkb_rating_use_proxy_headers', function($use_proxy_headers) {
    // ...
    return $use_proxy_headers;
} );