A WordPress-centric search engine for devs and theme authors



media_upload_mime_type_links ›

Since3.1.0
Deprecatedn/a
apply_filters( 'media_upload_mime_type_links', $type_links )
Parameters:
  • (string[]) $type_links An array of list items containing mime type link HTML.
    Required: Yes
Defined at:
Codex:

Filters the media upload mime type list items.

Returned values should begin with an <li> tag.





Source

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