_wp_get_image_size_from_meta
- %1$s is private and should not be used in themes or plugins directly.
_wp_get_image_size_from_meta ( $size_name, $image_meta )
Access:Parameters:- (string) size_name Image size. Accepts any registered image size name.
- (array) image_meta The image meta data.
Returns:- (array|false) { Array of width and height or false if the size isn't present in the meta data. @type int $0 Image width. @type int $1 Image height. }
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Gets the image size as array from its meta data.Used for responsive images.