Modify Allowed Upload Mime Types

This snippet let’s you add or remove allowed file types in the WordPress upload popup. Adding font files like .woff are not allowed by default and this fixes that. Posted in Admin area

We do not write or claim ownership of any of the articles featured on this website. Instead we aim to highlight them so you can read the full article at the original source. To finish reading this article, follow the continue reading link below. CONTINUE READING
Author: WP-Snippets

WP-Snippets is a website focused on creating useful content for WordPress developers. We’re dedicated to help anyone building WordPress websites, whether you’re a pro or if you just got started.

http://wp-snippets.com/

Sign up to our newsletter

Don't worry, we won't give your email to any third parties
and you can unsubscribe at any time.