Remove numbers and dots from pager facet html

<?php
/** removes links from pager that are not the next or prev link
 ** will apply to all pager facets
 **/
add_filter( 'facetwp_facet_pager_link', function( $html ) {
    if(! preg_match('~(prev|next)~', $html)) {
        return '';
    }
    return $html;
});