Used By
| Used By | Description |
|---|---|
| wp-includes/functions.php: get_allowed_mime_types() | Retrieve list of allowed mime types and file extensions. |
Filters list of allowed mime types and file extensions.
(array) Mime types keyed by the file extension regex corresponding to those types.
(int|WP_User|null) User ID, User object or null if not provided (indicates current user).
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/upload_mimes