A WordPress-centric search engine for devs and theme authors



wp_mime_type_icon ›

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id )
Parameters: (3)
  • (string) $icon Path to the mime type icon.
    Required: Yes
  • (string) $mime Mime type.
    Required: Yes
  • (int) $post_id Attachment ID. Will equal 0 if the function passed the mime type.
    Required: Yes
Defined at:
Codex:

Filters the mime type icon.





Source

return apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id );