WP_Image_Editor::get_size()
Gets dimensions of image.
Return
(int[]) Dimensions of the image.<br>
- 'width'
(int) The image width.<br> - 'height'
(int) The image height.<br>
Source
File: wp-includes/class-wp-image-editor.php
public function get_size() {
return $this->size;
}
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |