This reply has been marked as private.
This site is a community site so there is no way I can have them upload content and not give them the ability to delete it if they want to. If there is someone that can write a sample function for this, that would be helpful. I don’t know what to do with the resource provided.
I added something similar to this that I found on Stack Overflow but it didn’t seem to work for me (that I could tell). I ended up using a plugin called WP Users Media that did work. I guess this can be considered solved!
I thought I could filter for duplicates but couldn’t get that working in the query loop.