file_is_displayable_image
file_is_displayable_image ( $path )
Parameters:- (string) path File path to test.
Returns:- (bool) True if suitable, false if not suitable.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Validates that file is suitable for displaying within a web page.