This plugin allows you to restrict your site users from uploading files of certain types and control the maximum file upload size. Administrator can select the file types and file upload limit by user role. This plugin restricts users from uploading unwanted files using the WordPress media uploader.
It is very simple to use. You will be able give permissions role wise. To restore WordPress's default selection, just deactivate the plugin.
Any issue? Please let me know (
http://sajjadhossain.com/contact-me/).
- Upload
wp-upload-restriction
folder to the plugins directory (/wp-content/plugins/
).
- Activate the plugin through the 'Plugins' menu in WordPress.
- Go to Settings > WP Upload Restriction settings page.
- Check/uncheck the extensions you want to allow/deny for each role.
- Check "Restrict upload size to" checkbox to restrict file upload size and enter the file size in MB.
- Save the changes.
To return back to WordPress's default selection, just deactivate the plugin.