<?php
// Add the following to your (child) theme's functions.php
add_action( 'wp_head', function() {
?>
<script>
window.addEventListener('DOMContentLoaded', function() {
if ('undefined' !== typeof FWP.hooks) {
FWP.hooks.addAction('facetwp/loaded', function() {
if (! FWP.loaded) {
$('.locate-me').click();
}
});
}
});
</script>
<?php
}, 100);