apply_filters( 'sanitize_mime_type', string $sani_mime_type, string $mime_type )

Filters a mime type following sanitization.


Parameters

$sani_mime_type string
The sanitized mime type.
$mime_type string
The mime type prior to sanitization.

Top ↑

Source

File: wp-includes/formatting.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.1.3 Introduced.

Top ↑

User Contributed Notes

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