I think you need to classify a bit:
1. Protective filters is a debate between physical protection and image quality and circumstances/ environment. Open for debate...
2. Filters for the film era : UV and IR blocking filters improved colors on film, and I remember some yellow-orang’isch for black and white (? Feel free to help here, not my strong point bw film) , these became useless on digital because the UV-IR-protection sits on the sensor and bw is postprocessing...
Colored filters to get for instance blue or red sky effects (typical with gradation from top to bottom) can be easier done in postprocessing on digital, so I put them under 2 (but can work on digital if you insist)
3.filters with a purpose ( valid on a digital sensor unlike 2)
- ND neutral density, to reduce light and allow for extreme long exposures, like to freeze moving water....etc...
- Polarisation to avoid reflections
- Starburst (metal crosswires) to get light star effects
- Filters to do IR or UV photography blocking visible light (and allowing UV or IR contrary to those under 2)
- One could add macro magnifying "filter” because they mount like filter (but are lenses...)
- ...
So category 2 got useless for digital but some still use film so even these remain in use... the others are still in use.