Filter hook 'wp_mime_type_icon'

in WP Core File wp-includes/post.php at line 7014

Description

Filters the mime type icon.

Occurrences

Filename Line Number
wp-includes/post.php 7014

Parameters

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 the mime type.

PHP Doc

/**
	 * 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.
	 */