Codex tools: Log in
Contents |
Retrieve list of mime types and file extensions.
<?php $mime_types = wp_get_mime_types() ?>
Applies the filter mime_types to return value, passing the array of mime types. This filter should be used to add types, not remove them. To remove types use the upload_mimes filter.
wp_get_mime_types() is located in wp-includes/functions.php