apply_filters( ‘media_upload_mime_type_links’, string[] $type_links )

In this article

Filters the media upload mime type list items.

Description

Returned values should begin with an <li> tag.

Parameters

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

Source

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

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

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