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



sanitize_mime_type ›

Since3.1.3
已弃用n/a
apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type )
参数: (2)
  • (string) $sani_mime_type The sanitized mime type.
    Required: Yes
  • (string) $mime_type The mime type prior to sanitization.
    Required: Yes
定义在:
文档:

Filters a mime type following sanitization.





源码

return apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type );