file_is_displayable_image

file_is_displayable_image

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6

apply_filters('file_is_displayable_image') is found 1 times:

  • /wp-admin/includes/image.php line 1084
    	 *
    	 * @param bool   $result Whether the image can be displayed. Default true.
    	 * @param string $path   Path to the image.
    	 */
    	return apply_filters( 'file_is_displayable_image', $result, $path );
    }
    
    /**
     * Loads an image resource for editing.
     *
     * @since 2.9.0