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

Create A Product Listing With Infinite Categories ... In today’s tutorial we’re going to leverage the power of custom post types, taxonomies, and custom loops to create a dynamic products listing. There’s...
How to Let Users Login and Comment on WordPress wi... If you are using a self-hosted WordPress blog, allowing people to leave comments or login using their Social Network details can be a great way to boo...
How to Easily Edit Custom Post Types in the WordPr... Need to make a few changes to the built-in WordPress post types or a custom post type? Custom Post Type Editor is a new plugin that makes it possible ...
The CSS Newbies Guide to WordPress Page Styling An... Getting the look of your page just right can be a deeply satisfying experience for website designers of all skill levels.  It can also be a deeply exh...

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