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



file_is_displayable_image › WordPress过滤钩子

Since2.5.0
已弃用n/a
apply_filters( 'file_is_displayable_image', $result, $path )
参数: (2)
  • (bool) $result Whether the image can be displayed. Default true.
    Required: Yes
  • (string) $path Path to the image.
    Required: Yes
定义在:
文档:

Filters whether the current image is displayable in the browser.





源码

return apply_filters( 'file_is_displayable_image', $result, $path );