add_filter( 'facetwp_assets', function( $assets ) {
    FWP()->display->json['expand'] = '<i class="fas fa-chevron-down"></i>';
    FWP()->display->json['collapse'] = '<i class="fas fa-chevron-up"></i>';

    // Return the same thing (since we're hijacking this hook)
    return $assets;
});
Geef een reactie 0