This filter allows you to overwrite the settings that are used to make requests to the Places API.
By default only the ‘geometry.location’ data is requested, but with this filter you can include additional data in the returned results, or set additional options that are used when a new autocomplete request is made.
$settings - (array) The default autocomplete restrictions.
This code shows how to restrict the autocomplete results to establishments only.
Other fields that you can set are listed here.
This filter is located in /frontend/class-frontend.php
The code needs to be placed in the functions.php file inside your active theme folder.