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

How to Remove WordPress Dashboard Widgets Have you ever worked on a project which required you to customize the display of the WordPress admin panel? Well one of the first things consultants c...
KnowHow – A New Knowledge Base/Wiki Premium ... KnowHow is a new premium Theme from ThemeForest. KnowHow is a knowledge base without the monthly subscription, a wiki without the bloat. KnowHow hel...
How to Install WordPress on your Mac with MAMP Installing WordPress on my Mac is a task that I have been putting off for a while, but I finally took the plunge a couple of weeks ago, to give myself...
Exclusive Giveaway: Get VIP Access to Try the Hell... WPBeginner is proud to announce another amazing giveaway on our site for this week. This is rather an unusual giveaway, and a lot different from the p...

Leave a Reply

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

Pin It on Pinterest

Share This