Title: Remove Some Default Types
Last modified: March 4, 2021

---

# Remove Some Default Types

 *  Resolved [ninoxknight](https://wordpress.org/support/users/ninoxknight/)
 * (@ninoxknight)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-some-default-types/)
 * I would like to remove (comment out with “#”) some of the default types installed
   with the plugin, e.g.
    wmv = video/x-ms-wmv wmx = video/x-ms-wmx wm = video/x-
   ms-wm
 * for which I have no use. However, the “List of allowed mime types and file extensions
   by WordPress” in Settings does not appear to be editable.
 * How can I remove some of these allowed types?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [kimipooh](https://wordpress.org/support/users/kimipooh/)
 * (@kimipooh)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-some-default-types/#post-14138678)
 * Thank you for using my plugin.
 * In response to your request, I have implemented a feature.
    Please update this
   plugin.
 * The restriction function is available on version 3.0.0.
    If the head in each 
   line is set to ‘-‘, then the MIME type restricts. ex. -bmp = image/bmp The files
   which have “bmp” file extension becomes not to be able to upload.
 * If you want to restrict(remove) “wmv”, “wmx”, and “vm” file extension, set the
   following settings.
    -wmv = video/x-ms-wmv -wmx = video/x-ms-wmx -wm = video/
   x-ms-wm
 *  Thread Starter [ninoxknight](https://wordpress.org/support/users/ninoxknight/)
 * (@ninoxknight)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/remove-some-default-types/#post-14140338)
 * Dear kimipooh,
 * Thank you so much for this — it works brilliantly!
 * And thank you for the speedy fix and reply. As this is a security improvement,
   your quick response if very much appreciated.
 * Stay safe, all the best!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove Some Default Types’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-add-mime-types.svg)
 * [Add MIME Types](https://wordpress.org/plugins/wp-add-mime-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-add-mime-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-add-mime-types/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-add-mime-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-add-mime-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-add-mime-types/reviews/)

## Tags

 * [removal](https://wordpress.org/support/topic-tag/removal/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)

 * 2 replies
 * 2 participants
 * Last reply from: [ninoxknight](https://wordpress.org/support/users/ninoxknight/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/remove-some-default-types/#post-14140338)
 * Status: resolved