Codex tools: Log in
Retrieve list of mime types and file extensions.
<?php $mime_types = wp_get_mime_types(); ?>
See usage above.
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