Cloudflare Geolocation
-
Hello,
Im getting to grips with your plugin and it’s AWESOME.
I have a little request that’s over my technical ability.
I have Cloudflare Geolocation which allows me to capture the country code for the user’s IP with this:
$country_code = $_SERVER[“HTTP_CF_IPCOUNTRY”];
Is it possible to take this and create an ‘if’ statement that would compare the user IP with an ACF field for country codes e.g
[If $country_code and field=country_codes keyword=GB]
//this text//
[if]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Cloudflare Geolocation’ is closed to new replies.