FacetWP – change path to clustering images

mgibbs189

{{gist file=”functions.php” lang=”php”}}
<?php

add_filter( ‘facetwp_map_init_args’, function( $settings ) {
$settings[‘imagePath’] = ‘URL/TO/YOUR/IMG/FOLDER/m’; // e.g. https://yoursite.com/images/m’;
return $settings;
});

{{/gist}}