WordPress at a glance
filter is not described

wp_mime_type_icon filter-hook . WP 2.1.0

Filters the mime type icon.


add_filter( 'wp_mime_type_icon', 'filter_function_name_5834', 10, 3 );
function filter_function_name_5834( $icon, $mime, $post_id ){
	// filter...

	return $icon;
Path to the mime type icon.
Mime type.
Attachment ID. Will equal 0 if the function passed the mime type.

Where the hook is called

wp-includes/post.php 5957
return apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id );

Where the hook is used (in WP core)

Использование не найдено.