isPluginInstalled('Provider')) { return false; } $userInfo = $this->getUserInfo($request, $visitor); $isp = $this->getLocationDetail($userInfo, LocationProvider::ISP_KEY); $org = $this->getLocationDetail($userInfo, LocationProvider::ORG_KEY); // if the location has provider/organization info, set it if (!empty($isp)) { $providerValue = $isp; // if the org is set and not the same as the isp, add it to the provider value if (!empty($org) && $org != $providerValue) { $providerValue .= ' - ' . $org; } return $providerValue; } if (!empty($org)) { return $org; } return false; } }