file_is_displayable_image

file_is_displayable_image

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('file_is_displayable_image') is found 1 times:

  • /wp-admin/includes/image.php line 1126
    	 *
    	 * @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