Description
This filter only works in WP Store Locator 2. It was removed in version 3.0 and no longer has any effect. Version 3 loads the Google Maps API from the quarterly release channel, which Google only updates four times a year, so you no longer need to set a fixed version number.
This filter allows you change the used Google Maps API version.
Usage
This code shows how to load a different version number.
You can see a list of the available version numbers here.
Changelog
| Version | Description |
|---|---|
| 3.0 | Removed. The Google Maps API is now always loaded from the quarterly release channel. |
| 2.2.233 | The default changed from a fixed version number to quarterly. |
| 2.2.16 | Introduced. |
Source File
This filter is located in /inc/wpsl-functions.php
Placement
The code needs to be placed in the functions.php file inside your active theme folder.