file_is_displayable_image

Advertisement

Summery Summery

Filters whether the current image is displayable in the browser.

Syntax Syntax

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

Parameters Parameters

$result

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

$path

(string) Path to the image.

Source Source

File: wp-admin/includes/image.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.