Is there a way to limit multi upload in media upload box?
This is a bit out of context but I think you can approach it a little bit differently, you can limit access to default media library for roles below “admin” or “editor” depending on your setup. For instance you can block authors from uploading files to media library using the following code.. if ( current_user_can(‘author’) … Read more