apply_filters( ‘sanitize_mime_type’, string $sani_mime_type, string $mime_type )

In this article

Filters a mime type following sanitization.

Parameters

$sani_mime_typestring
The sanitized mime type.
$mime_typestring
The mime type prior to sanitization.

Source

return apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type );

Changelog

VersionDescription
3.1.3Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.