[is_not_proxy]

[is_not_proxy]Not proxy connection[/is_not_proxy]

This shortcode displays or hides content based on whether the visitor is not using a proxy connection.

Important to know: Some advanced VPN services may hide their proxy usage, but in most cases, proxy detection works correctly.

Parameters

  • default – (accepts: text) – Message displayed if the visitor is using a proxy (optional)
  • exclude – (accepts: comma-separated text) – Hides content for specified locations (continent, country, region, or city)
  • include – (accepts: comma-separated text) – Displays content only for specified locations
  • cache – (no value) – Enables AJAX-based caching. This attribute is automatically added if the cache setting is enabled

Return

Displays the inner content when no proxy connection is detected. If a proxy is detected, the default message (if set) will be shown.

Examples

Display non-proxy message with fallback:

[is_not_proxy default="Proxy Connection"]No proxy[/is_not_proxy]

Returns:
Proxy Connection

Was this page helpful?