PHP Integration [28] Globals Constants [5] CFGP_SESSION CFGP_MULTISITE CFGP_DEV_MODE W3TC_DYNAMIC_SECURITY CFGP_DISABLE_NOTIFICATION Filters [3] cf_geoplugin_api_response cf_geoplugin_api_render_response cf_geoplugin_ip_blocked Utilities [16] Security Notes HTTP Codes Helper Get Current User (ID or Email) Quick Access to Geo Fields Location Checks (City/Region/Country/Postcode) Safe Redirect (Preserving Parameters) Cache Invalidation (Global + Popular Cache Plugins) Bot/Crawler Detection HTTP Requests with Caching (GET/POST) Request Sanitizers (GET/POST) URL/Host Helpers Fragment Caching (W3TC mfunc) Defender Cookie (Anti-Abuse Signal) Display Flag Check if REST is Enabled Miscellaneous Utilities JavaScript Integration REST API [4] Configuration Authentication Lookup Deactivation Home / Documentation / Advanced Usage / PHP Integration / Utilities Fragment Caching (W3TC mfunc) Allows dynamic HTML parts inside statically cached pages (if W3TC is configured with W3TC_DYNAMIC_SECURITY). $html = '<div class="price-local">' . esc_html( CFGP_U::api('currency') ) . '</div>'; echo CFGP_U::fragment_caching($html, true); Doc navigation < URL/Host Helpers Defender Cookie (Anti-Abuse Signal) > Was this page helpful? Yes No