WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about sanitize_mime_type

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/formatting.php apply_filters 5576 /**
* Filters a mime type following sanitization.
*
* @since 3.1.3
*
* @param string $sani_mime_type The sanitized mime type.
* @param string $mime_type The mime type prior to sanitization.
*/

Hook Parameters

Parameter Type Name Description
string $sani_mime_type The sanitized mime type.
string $mime_type The mime type prior to sanitization.