Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | apply_filters | 6985 | /** * Filters the mime type icon. * * @since 2.1.0 * * @param string $icon Path to the mime type icon. * @param string $mime Mime type. * @param int $post_id Attachment ID. Will equal 0 if the function passed * the mime type. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $icon | Path to the mime type icon. |
string | $mime | Mime type. |
int | $post_id | Attachment ID. Will equal 0 if the function passed |