By default you can only choose one address type for the Places Autocomplete feature to return. It is however possible to mix only two of these address types. The geocode
and establishment
types. Mixing any other type will result in an error from Google.
Use the block of code below to override the default single address type in favor for the geocode
and establishment
types.
PHP
function lpac_cc_places_autocomplete_mix_types(){
return array('geocode', 'establishment');
}
add_filter('lpac_pro_places_autocomplete_types', 'lpac_cc_places_autocomplete_mix_types');