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



wp_mime_type_icon › WordPress过滤钩子

Since2.1.0
已弃用n/a
› apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id )
参数: (3)
  • () icon URL of the mime type icon, or false if no icon was found.
    Required: Yes
  • () mime Mime type, or 0 if no post was found for the passed ID.
    Required: Yes
  • () post_id Attachment ID. Will equal 0 if the function passed the mime type or no post was found for the passed ID.
    Required: Yes
定义在:
文档:

Filters the mime type icon.





源码

return apply_filters( 'wp_mime_type_icon', $icon, $mime, $post_id );