Attachments (Media files) (category)
Rarely used
| wp_get_audio_extensions() | Gets an array of audio formats supported in WordPress. Gets file extensions. |
| wp_get_ext_types() | Gets a list of basic file extensions by type. For example, image extensions, audio file extensions, video file extensions, etc. |
Images
| wp_get_image_mime() | Gets the real MIME type of an image file. |