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

Validates that file is an image.

Related Functions

file_is_displayable_image, is_gd_image, wp_zip_file_is_valid, get_post_galleries_images, media_upload_image

Top Google Results

User discussions

wpseek mobile