Core Function
View Source on Trac ↗ wp_get_mime_types()
wp_get_mime_types( ) Retrieves the list of mime types and file extensions.
Return Value
(string[])
Array of mime types keyed by the file extension regex corresponding to those types.
Function Information
Since Version
3.5.0
Source File
wp-includes/functions.php
Advertisement