Hide start marker function error
-
Hi there,
I have used the wpsl_js_settings filter to hide the start marker as per the documentation – https://wpstorelocator.co/document/hide-start-marker/
This hides the marker, but I’m getting a console error below:
Here is the code I used from the docs page:
// -- Hide start marker add_filter( 'wpsl_js_settings', 'custom_js_settings' ); function custom_js_settings( $settings ) { $settings['startMarker'] = ''; return $settings; }
Any help would be much appreciated!
Cheers,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide start marker function error’ is closed to new replies.