file_is_valid_image


file_is_valid_image ( $path )

Parameters:
  • (string) $path File path to test if valid image.
Returns:
  • (bool) True if valid image, false if not valid image.
Defined at:

Description

Validate that file is an image.

Related Functions

file_is_displayable_image, media_upload_image, get_post_galleries_images, header_image, has_header_image

Top Google Results

User discussions

wpseek mobile