Codex

Function Reference/wp mime type icon

Contents

Description

Retrieve the icon for a MIME type.

Usage

<?php wp_mime_type_icon$mime ?>

Parameters

$mime
(string) (optional) MIME type
Default: 0

Return Values

(string|boolean) 
Returns a value from The filtered value after all hooked functions are applied to it.

Examples

Notes

  • Uses: apply_filters calls 'wp_mime_type_icon' on $icon, $mime and $post_id

Change Log

Since: 2.1.0

Source File

wp_mime_type_icon() is located in wp-includes/post.php.

Related