WordPress at a glance
filter is not described

attachment_icon filter-hook . WP 1.0

Usage

add_filter( 'attachment_icon', 'filter_function_name_342', 10, 2 );
function filter_function_name_342( $icon, $ID ){
	// filter...

	return $icon;
}
$icon
-
$ID
-

Where the hook is called

get_attachment_icon()
attachment_icon
wp-includes/deprecated.php 1977
return apply_filters( 'attachment_icon', $icon, $post->ID );

Where in WP core the hook is used WordPress

Usage not found.