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]

Related Post

Carson – An Ultra Clean WordPress Theme for ... Carson is an ultra clean WordPress theme for Business, Portfolio or Corporate websites...
The Ultimate Guide to Choosing the Perfect WordPre... I was recently looking for a plugin to display related posts with thumbnails at the end of each post. There are several plugins to do this and I wante...
Top 5 Business Card Themes for WordPress Whether you are looking for a new job or are interested in managing your online reputation, you are going to need your own website. Your website can b...
How to Add Buttons and CSS Classes to the Default ... When creating websites for clients, especially those who are not so familiar with website editing or the internet in general, it is always useful to c...

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Pin It on Pinterest

Share This