wpseek.com
A WordPress-centric search engine for devs and theme authors



mime_types › WordPress Filter Hooks

Since3.5.0
Deprecatedn/a
return apply_filters(
Parameters:
  • () wp_get_mime_types Mime types keyed by the file extension regex corresponding to those types.
    Required: No
    Default:
Defined at:
Codex:

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.




Source

return apply_filters(