More Mime Type Filters

In the Media Library, there are a few convenient filter links (Images | Audio | Video). This plugin allows you to add other types to that list.
For example, you could add a PDFs link to easily find all PDFs in the Media Library.

May require at least 2.8.6 (definitely doesn’t work on anything older than that)

Download

Latest version: Download More Mime Type Filters v0.3

Installation

  1. Upload mimes.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Find the Mime Types page under Media in the sidebar

FAQ

Q. How can I add more mime types?
A. If you’ve customized the allowed mime types for upload, they’ll automatically appear on this plugins admin page.
Here’s some example code for how to all additional mime types to be uploaded:
add_filter( ‘upload_mimes’, ‘make_alfredextenstion_allowed_upload’ );
function make_alfredextenstion_allowed_upload( $mimes ) {
$mimes[‘alfredextension’] = ‘application/octet-stream’;
return $mimes;
}

Changelog

0.3

  • Prettier admin page
  • Clean up notices

0.2

  • bug fix for non-admins in debug mode

0.1

  • First release

5 thoughts on “More Mime Type Filters”

Comments are closed.

Please use this plugin's WordPress.org support forum if you need assistance.