Gets dimensions of image.

Return Return

(array) Dimensions of the image.

  • 'width'
    (int) The image width.
  • 'height'
    (int) The image height.

Top ↑

Source Source

File: wp-includes/class-wp-image-editor.php

	public function get_size() {
		return $this->size;

Top ↑

Changelog Changelog

Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

You must log in before being able to contribute a note or feedback.