Country Detection

Upon successful validation of the visitor, AbyssGuard will set $GLOBALS['country_code'] that will equal to the 2 digit uppercase country code of the visitor (AU, US, GB ...).

Below you can see sample PHP on how to detect the visitor's country on AbyssGuard protected website:

if (!empty($GLOBALS['country_code'])) {
    $country_code = $GLOBALS['country_code']; 

In order for the Country Detection to work you have to enable the Core Protection option in your Settings.

Country Ban

You can Ban any country through the Blacklist.