wpsl_map_controls

  1. Description
  2. Usage
  3. Changelog
  4. Source File
  5. Related

Description

This filter allows you to modify the HTML that shows the reload and direction icons on the map.

Usage

This example will replace the “Reset Map” icon with the old “Reset” button that was included in the 1.x version.

The  code represents the “Show My Location” icon, and is used to render the icon font from fontello.com. The code for the “Reset Map” icon is .

Changelog

Since 2.0

Source File

This filter is located in /frontend/class-frontend.php.

Placement

The code needs to be placed in the functions.php file inside your active theme folder.