Languages: English • Italiano • 日本語 (Add your language)
Retrieve list of mime types and file extensions.
<?php $mime_types = wp_get_mime_types(); ?>
None
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 wp-includes/functions.php