facetwp count only

djrmom

{{gist file=”custom-hooks.php” lang=”php”}}
<?php
/**
** output only total results
**/

add_filter( ‘facetwp_result_count’, function( $output, $params ) {
$output = $params[‘total’] . ‘ results’;
return $output;
}, 10, 2 );
{{/gist}}