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, _is_valid_nav_menu_item

Top Google Results

User discussions

wpseek mobile