<?php
add_filter( 'facetwp_facet_html', function( $output, $params ) {
$output = str_replace( ' <span class="facetwp-counter">', '<span class="facetwp-counter">', $output );
return $output;
}, 10, 2 );
Code snippets for FacetWP
<?php
add_filter( 'facetwp_facet_html', function( $output, $params ) {
$output = str_replace( ' <span class="facetwp-counter">', '<span class="facetwp-counter">', $output );
return $output;
}, 10, 2 );