Filter hook 'sanitize_mime_type'

in WP Core File wp-includes/formatting.php at line 5724

Description

Filters a mime type following sanitization.

Occurrences

Filename Line Number
wp-includes/formatting.php 5724

Parameters

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

PHP Doc

/**
	 * 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.
	 */