mla_ext2type_filter()
mla_ext2type_filter( $standard_types) : array
Update the file extension to icon type (e.g., xls => spreadsheet, doc => document) array
Note that the calling function, wp_ext2type, takes an extension and returns an icon type.
This filter updates the array of possible matches to support the calling function.
Called from /wp-includes/functions.php, function wp_ext2type(). That function is called from
/wp-admin/includes/ajax-actions.php, function wp_ajax_send_link_to_editor(),
/wp-admin/includes/media.php, function wp_media_upload_handler(), and
/wp-includes/post.php, function wp_mime_type_icon(). The first two calls look for "audio"
and "video" files to call the appropriate filter. The third call assigns the appropriate icon
to the file for display purposes.
Defined as public because it's a filter.
Parameters
Returns
array
— The updated associations array.