file_is_displayable_image

最后更新于:2021-11-26 09:58:11

apply_filters( ‘file_is_displayable_image’, bool $result, string $path )

Filters whether the current image is displayable in the browser.

参数

$result

(bool)
Whether the image can be displayed. Default true.

$path

(string)
Path to the image.

源文件

文件: gc-admin/includes/image.php

View on Trac