function smart_ip_forms in Smart IP 7.2
Same name and namespace in other branches
- 6.2 smart_ip.module \smart_ip_forms()
- 6 smart_ip.module \smart_ip_forms()
- 7 smart_ip.module \smart_ip_forms()
Implement hook_forms().
File
- ./
smart_ip.module, line 202 - Determines country, geo location (longitude/latitude), region, city and postal code of the user, based on IP address
Code
function smart_ip_forms($form_id, $args) {
$forms = array();
if ($form_id == 'smart_ip_cron_db_update') {
module_load_include('inc', 'smart_ip', 'includes/smart_ip.admin');
$forms[$form_id]['callback'] = 'smart_ip_admin_settings';
}
return $forms;
}