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

In this article

Filters whether the current image is displayable in the browser.

Parameters

$resultbool
Whether the image can be displayed. Default true.
$pathstring
Path to the image.

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.