apply_filters( 'wp_mime_type_icon', string $icon , string $mime , int $post_id )
Filters the mime type icon.
Parameters
- $icon
-
Path to the mime type icon.
- $mime
-
Mime type.
- $post_id
-
Attachment ID. Will equal 0 if the function passed the mime type.
Source
File: wp-includes/post.php
Changelog
Version | Description |
---|---|
WP-2.1.0 | Introduced. |