Allow a specific user role I have created to only upload one image to his media
-
Hello guys
I was following this article https://wordpress.stackexchange.com/questions/119964/set-a-maximum-upload-count-for-users-on-a-specific-user-role?newreg=e5d888b445d04742a729b08a915c1142 but the code doesn’t seem to do anything. I modified the fields instead of ‘contributor’ in their example to ‘Artist’ and 10 for upload count to 1 but nothing, I could still upload images. The last one by Maruti Mohanty is doing something , it doesn’t allow any files to be uploaded causing an error when I try to upload even one image but thats not what I need. As the title says, I would like to allow a specific user role in my case ”Artist” role with upload_file, delete_post and read capabilities , I have created to upload only one image to his media library. Any ideas how to do that?
Thanks
John
- The topic ‘Allow a specific user role I have created to only upload one image to his media’ is closed to new replies.