array $post_mime_types )
Filters the default list of post mime types.
Default list of post mime types.
View all references
return apply_filters( 'post_mime_types', $post_mime_types );
To unset and rename some items in the dropdown filter for media items:
I had to resort to this because apparently, restricting all these file types using upload_mimes filter still doesn’t remove these items in the dropdown.