mime_types – filter

Filters the list of mime types and file extensions. This filter should be used to add, not remove, mime types. To remove mime types, use the {@see ‘upload_mimes’} filter.

Parameters

.
( 3.5.0 ) . .
$wp_get_mime_types
( string[] ) Mime types keyed by the file extension regex corresponding to those types. . . .
API Letters: ,

Implementers