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

How To Create a Public News Area for your WordPres... I have been looking for some way to add a community news section to a blog of mine, buts its been quite difficult. TDO mini forms is a way to let peop...
Increase Your Audience with a WordPress Translatio... The web, with a few exceptions of course, is a borderless world. Being able to easily translate a website into a different language can make a big dif...
The Future of WordPress Themes in 2011 It’s inevitable, really. At the beginning of each year thoughts turn to the coming months and what they will bring. For many of us, that means W...
Manage WordPress Comments with One Click Close Com... I don’t know about you but my old posts still get a lot of attention. Unfortunately, some of that attention comes from spammers and junk throwers. S...

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=""> <s> <strike> <strong>

Pin It on Pinterest

Share This