Function Reference: geodir_location_auto_change_map_fields
Summary
Set auto change map fields to false when add neighbourhood request.
Package
GeoDirectory_Location_Manager
Parameters
- $change
- (bool) (required) Whether to auto fill country, state, city values in fields.
- Default: None
Return Values
- (bool)
Change Log
Since: 1.0.0
Source File
geodir_location_auto_change_map_fields() is located in geodir_location_manager/geodir_location_hooks_actions.php [Line: 2557]
Source Code
function geodir_location_auto_change_map_fields($change) { if(isset($_REQUEST['add_hood']) && $_REQUEST['add_hood'] != ''){ $change = false; } return $change; }