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 URL of the mime type icon, or false if no icon was found.
    Required: Yes
  • () mime Mime type, or 0 if no post was found for the passed ID.
    Required: Yes
  • () post_id Attachment ID. Will equal 0 if the function passed the mime type or no post was found for the passed ID.
    Required: Yes
Defined at:
Codex:

Filters the mime type icon.





Source

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