[is_proxy]Proxy connection[/is_proxy]
This shortcode displays or hides content based on whether the visitor is using a proxy connection.
Important to know: Some advanced VPN services may bypass proxy detection, but in most cases, proxy usage is successfully identified.
Parameters
- default – (accepts: text) – Message displayed when the visitor is not using a proxy (optional)
- exclude – (accepts: comma-separated text) – Hides the content for specified locations (continent, country, region, city)
- include – (accepts: comma-separated text) – Displays the content only for specified locations
- cache – (no value) – Enables AJAX-based caching. Automatically added if the cache setting is enabled
Return
Displays the inner content if a proxy connection is detected. If no proxy is used, it returns the default
message (if defined).
Examples
Display proxy detection message:
[is_proxy default="No proxy"]Proxy connection[/is_proxy]
Returns:
Proxy connection