apply_filters( 'media_upload_mime_type_links', string[] $type_links )

Filters the media upload mime type list items.


Description

Returned values should begin with an <li> tag.


Top ↑

Parameters

$type_links string[]
An array of list items containing mime type link HTML.

Top ↑

Source

File: wp-admin/includes/media.php. View all references

echo implode( ' | </li>', apply_filters( 'media_upload_mime_type_links', $type_links ) ) . '</li>';


Top ↑

Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes

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