Filters the mime type icon.
Parameters
$icon
string- Path to the mime type icon.
$mime
string- Mime type.
$post_id
int- Attachment ID. Will equal 0 if the function passed the mime type.
Source
return apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id );
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.