• arathra

    (@arathra)


    I have this code in a plugin

    $country = strip_tags( do_shortcode( “[CBC_COUNTRY /]” ) );
    $ip = strip_tags( do_shortcode( “[CBC_IP /]” ) );

    It returns my country which I’m using in an if/then statement to set some variables.

    Using a VPN I “change” countries – the $ip variable always updates and shows my new country, but the $country always displays my “real” country and not the new one associated with the $ip.

    Can you suggest how this can be fixed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul

    (@paultgoodchild)

    There is a development mode option… is this on or off?

    Thread Starter arathra

    (@arathra)

    Where can I see that? I don’t believe I’ve set that option as I’ve used it straight out of the box, as it were.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[CBC_COUNTRY /] behaving strangely’ is closed to new replies.