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



wp_mime_type_icon › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id )
Parameters: (3)
  • () icon Path to the mime type icon.
    Required: Yes
  • () mime Mime type.
    Required: Yes
  • () 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 );