apply_filters( 'wp_mime_type_icon', string $icon, string $mime, int $post_id )

Filters the mime type icon.

Description Description

Parameters Parameters


(string) Path to the mime type icon.


(string) Mime type.


(int) Attachment ID. Will equal 0 if the function passed the mime type.

Top ↑

Source Source

File: wp-includes/post.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.