Filter hook 'file_is_displayable_image'

in WP Core File wp-admin/includes/image.php at line 1084

Description

Filters whether the current image is displayable in the browser.

Occurrences

Filename Line Number
wp-admin/includes/image.php 1084

Parameters

Type Name Description
bool $result Whether the image can be displayed. Default true.
string $path Path to the image.

PHP Doc

/**
	 * Filters whether the current image is displayable in the browser.
	 *
	 * @since 2.5.0
	 *
	 * @param bool   $result Whether the image can be displayed. Default true.
	 * @param string $path   Path to the image.
	 */