The mbp_business_selector_locations
filter can be used to filter the locations that appear in the business selector. It has three arguments: $locations
, $account_name
and $account_key
.
$locations
– Contains the Google API response with the locations$account_name
– Contains the Google location group ID$account_key
– Contains the Google account ID
Samples
Only displaying specific locations in the selector