过滤当前图像是否可在浏览器中显示。
原型
apply_filters( 'file_is_displayable_image', bool $result, string $path )
参数
$result
(bool)
是否可以显示图像。默认为true。
$path
(string)
图像的路径。
源文件
路径:wp-admin/includes/image.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/file_is_displayable_image/