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

Filters whether the current image is displayable in the browser.


Parameters Parameters

$result

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

$path

(string) Path to the image.


Top ↑

Source Source

File: wp-admin/includes/image.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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