Support

Account

Home › Forums › Front-end Issues › updating Google Map field with update_field › Reply To: updating Google Map field with update_field

  • I had to write a converter script to update some fields and this is how I set up the Google map field $value array. Worked fine.

    
    $field_name = "field_53bdd058c84a8";
    $value = array("address" => $address, "lat" => $lat, "lng" => $lng, "zoom" => $zoom);
    update_field($field_name, $value, $this_ID);