wpseek.com
WordPress开发者和主题制作者的搜索引擎



mime_types › WordPress过滤钩子

Since3.5.0
已弃用n/a
› return apply_filters(
参数:
  • () wp_get_mime_types Mime types keyed by the file extension regex corresponding to those types.
    Required: No
    默认: —
定义在:
文档:

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.




源码

return apply_filters(