Description
This filter allows you to change the filesystem path to the folder that holds the marker images. The markers found in this folder are shown on the settings page in the markers section.
Usage
This example changes the filesystem path to /wpsl-markers/ inside the current theme folder:
The $admin_marker_dir
value will look like this: /home/user/public_html/wp-content/themes/my_theme/wpsl-markers/.
If you use this filter to change the filesystem path, then you also need to change the marker folder URI by setting the WPSL_MARKER_URI constant.
The WPSL_MARKER_URI
value will look like this: http://mydomain.com/wp-content/themes/my_theme/wpsl-markers/.
Changelog
Since 2.1
Source File
This filter is located in /admin/class-settings.php
Placement
The code needs to be placed in the functions.php file inside your active theme folder.