_wp_get_image_size


_wp_get_image_size ( $filename, $imageinfo = array() )

Access:
  • private
Parameters:
  • (string) filename The file path.
  • (array) imageinfo Extended image information, passed by reference.
Returns:
  • (array|false) Array of image information or false on failure.
Defined at:

Description

Gets the image size, with support for WebP images.

Related Functions

wp_getimagesize, wp_get_image_mime, _wp_get_image_size_from_meta, wp_get_image_editor, wp_create_image_subsizes

Top Google Results

User discussions

wpseek mobile