Is it possible to restrict the number of media uploads (photos) per user?


I’ve got a community site using BuddyPress and Paid Memberships Pro where I’d like to restrict the number of files a free user can upload. I’ve seen it’s possible as MediaPress has a paid addon, but I don’t use MediaPress or rtMedia in my themes.

Does anyone know of any functions to hook into that can get the counts of number of media files uploaded for the current user that I could use to limit their number of uploads?


Michael 1 month 2023-02-13T16:42:34-05:00 0 Answers 0 views 0

Leave an answer