Close

July 17, 2012

How to Allow or Restrict File Uploads by MIME Type

I recently experienced an issue where the network settings for allowing/disallowing certain file types (MIME types) didn’t work on one of my sites. So I set about writing the function below using the upload_mimes filter to manually edit the permitted MIME types on a specific site…

Related Articles:

[related_posts]

Latest on WordPress (LatestWP) was established in 2010 to serve the WordPress community as a reliable source of information, news, tutorials, tips, themes and plugins reviews, and more. Stay tuned with us at the following Social Media channels.

Related Post

Functionality: Plugins vs Themes There are a lot of factors that influence performance on your WordPress site, and one of the tricks that “experts” will often tell you to do is avoid ...
Bill Erickson introduces a CRM child theme for Twe... Bill Erickson has released a child theme for TwentyTen in the form of a CRM. For those that don’t know what a CRM is, it’s a Customer Rela...
Excellent WordPress System Monitoring Plugins How do we know that our WordPress system is running well and there are no problems vis-a-vis the hosting account? Two plugins can help out in this tas...
Options for Responsive WordPress Themes Over the past six months it seems that there has been a large push for responsive design so I felt it necessary to layout a few different options for ...

Leave a Reply

Your email address will not be published. Required fields are marked *

Pin It on Pinterest

Share This