This commit is contained in:
Dan Ballard 2014-01-06 21:12:27 -05:00
parent aa566989a3
commit 4eb727e205
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ function simple_location_post_save($post_id) {
$ipLite = new ip2location_lite;
$ipLite->setKey($key);
$locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']);
print_r($locations);
}
}
if ($_POST['city'] == '') {