A WordPress-centric search engine for devs and theme authors



sanitize_mime_type ›

Since3.1.3
Deprecatedn/a
apply_filters( 'sanitize_mime_type', $sani_mime_type, $mime_type )
Parameters: (2)
  • (string) $sani_mime_type The sanitized mime type.
    Required: Yes
  • (string) $mime_type The mime type prior to sanitization.
    Required: Yes
Defined at:
Codex:

Filters a mime type following sanitization.





Source

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