facetwp add text to selections
add_action( 'wp_head', function() { ?>
<script>
(function($) {
$(function() {
FWP.hooks.addAction('facetwp/loaded', function() {
$( '<div class="you-selected">You selected: </div>' ).insertBefore( ".facetwp-selections ul" );
}, 100 );
});
})(jQuery);
</script>
<?php }, 100 );