Skip to content

Instantly share code, notes, and snippets.

@snormand27
Last active July 15, 2019 04:48
Show Gist options
  • Save snormand27/da23358fe65c6486634396faab0ee14d to your computer and use it in GitHub Desktop.
Save snormand27/da23358fe65c6486634396faab0ee14d to your computer and use it in GitHub Desktop.
Code used for facetWP reload page loop
<script>
(function($) {
$(document).on('facetwp-refresh', function() {
location.reload()
});
})(jQuery);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment