Mix Places Autocomplete Address Types

By default you can only choose one address type for the Places Autocomplete feature to return. It is however 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.

function lpac_cc_places_autocomplete_mix_types(){
	return array('geocode', 'establishment');
add_filter('lpac_pro_places_autocomplete_types', 'lpac_cc_places_autocomplete_mix_types');