FacetWP – emoji support

<?php

add_filter('facetwp_index_row', function( $params ) {
    $params['facet_display_value'] = wp_encode_emoji( $params['facet_display_value'] );
    return $params;
});