wordpress basic and advanced tutorials


How to allow contributor and subscriber to upload images via media library

Muthu Lakshmi 0 Comments

WordPress defaultly doesn’t allow some user roles to upload files via media library. Suppose If we are using the media uploader for front end and if the user is subscriber or contributor the user is restricted to upload files. so use below code in functions.php to allow the users to upload via media library.

Add this code in functions.php

For Subscriber:

For Contributor:

Previous Post

Next Post