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?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.