Used By
| Used By | Description |
|---|---|
| wp-includes/functions.php: wp_get_mime_types() | Retrieve list of mime types and file extensions. |
Filters the list of mime types and file extensions.
This filter should be used to add, not remove, mime types. To remove mime types, use the ‘upload_mimes’ filter.
(string[]) Mime types keyed by the file extension regex corresponding to those types.
| Version | Description |
|---|---|
| 3.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/mime_types