WP_Image_Editor::get_size(): int[]
Gets dimensions of image.
Return
int[] Dimensions of the image.
width
intThe image width.height
intThe image height.
Source
File: wp-includes/class-wp-image-editor.php
.
View all references
public function get_size() {
return $this->size;
}
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Get the size of the edited image.