On this page
apply_filters( 'sanitize_mime_type', string $sani_mime_type, string $mime_type )
Filters a mime type following sanitization.
Parameters
$sani_mime_typestring-
The sanitized mime type.
$mime_typestring-
The mime type prior to sanitization.
Source
File: wp-includes/formatting.php. View all references
return apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type );
Related
Used By
| Used By | Description |
|---|---|
| sanitize_mime_type() wp-includes/formatting.php | Sanitizes a mime type |
Changelog
| Version | Description |
|---|---|
| 3.1.3 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/sanitize_mime_type