WordPress开发者和主题制作者的搜索引擎



media_upload_mime_type_links ›

Since3.1.0
已弃用n/a
apply_filters( 'media_upload_mime_type_links', $type_links )
参数:
  • (string[]) $type_links An array of list items containing mime type link HTML.
    Required: Yes
定义在:
文档:

Filters the media upload mime type list items.

Returned values should begin with an <li> tag.





源码

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