apply_filters( 'mime_types', array $wp_get_mime_types )
Filters the list of mime types and file extensions.
Description Description
This filter should be used to add, not remove, mime types. To remove mime types, use the ‘upload_mimes’ filter.
Parameters Parameters
- $wp_get_mime_types
-
(array) Mime types keyed by the file extension regex corresponding to those types.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |