1. 首页
  2. WordPress钩子手册

getimagesize_mimes_to_exts

apply_filters( ‘getimagesize_mimes_to_exts’, array $mime_to_ext )

过滤器::过滤将图像mime类型映射到其各自扩展名的列表。
Filter Hook: Filters the list mapping image mime types to their respective extensions.

目录锚点:#参数#源码


参数(Parameters)

参数 类型 说明
$mime_to_ext (array) 图像mime类型及其匹配扩展的数组。

源码(Source)


更新版本 源码位置 使用 被使用
3.0.0 wp-includes/functions.php:2823 1 0

getimagesize_mimes_to_exts 为WP2原创文章,链接:https://www.wp2.cn/hook/getimagesize_mimes_to_exts/