wp_get_mime_types
wp_get_mime_types ( No parameters )
Returns:- (string[]) Array of mime types keyed by the file extension regex corresponding to those types.
Defined at:Change Log: - Introduced in WordPress: 3.5.0
- Deprecated in WordPress: —
Description
Retrieves the list of mime types and file extensions.