Filters the list of allowed mime types and file extensions.
$tarray
$userint|WP_User|null
return apply_filters( 'upload_mimes', $t, $user );
| Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/upload_mimes