Thanks for reaching out to the Community about this.
The option to filter explicit content isn't currently available within the Spotify web player.
However, as this feature serves as an account setting, we'd suggest you open the Spotify app on either a mobile device or a PC. Then disable the explicit content as described here. When you open the web player later, the disabled content filter will be applied to your account.
Hope this helps. Let us know if you have any more questions.
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
“Music is the wine that fills the cup of silence.” - Robert Fripp