I am letting users upload avatars which are stored within the uploads folder inside the avatars subfolder which I created.
The problem is that avatars are now listed in the media library among other uploaded images.
How can I prevent that?
I was looking for a filter to filter out what is being displayed but couldn't find one. I wouldn't mind the avatars folder being outside the uploads folder if it has to.