apply_filters( 'file_is_displayable_image', bool $result, string $path )

Filters whether the current image is displayable in the browser.


Parameters

$result

Whether the image can be displayed. Default true.

$path

Path to the image.


Source

File: wp-admin/includes/image.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.