post_mime_types钩子是Wordpress钩子,过滤器::过滤post-mime类型的默认列表。
apply_filters( ‘post_mime_types’, array $post_mime_types )
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$post_mime_types | (array) | 后mime类型的默认列表。 |
源码(Source)
//暂无
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.5.0 | wp-includes/post.php:2812 | 1 | 0 |