<?php
add_filter( 'facetwp_shortcode_html', function( $output, $atts ) {
if ( isset( $atts['template'] ) ) {
$output = str_replace( 'facetwp-template', 'facetwp-template row', $output );
}
return $output;
}, 10, 2 );
Code snippets for FacetWP
<?php
add_filter( 'facetwp_shortcode_html', function( $output, $atts ) {
if ( isset( $atts['template'] ) ) {
$output = str_replace( 'facetwp-template', 'facetwp-template row', $output );
}
return $output;
}, 10, 2 );