sanitize_mime_type

sanitize_mime_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('sanitize_mime_type') is found 1 times:

  • /wp-includes/formatting.php line 5709
    	 *
    	 * @param string $sani_mime_type The sanitized mime type.
    	 * @param string $mime_type      The mime type prior to sanitization.
    	 */
    	return apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type );
    }
    
    /**
     * Sanitizes space or carriage return separated URLs that are used to send trackbacks.
     *
     * @since 3.4.0