WP_Image_Editor::get_size

Advertisement

Summery Summery

Gets dimensions of image.

Syntax Syntax

WP_Image_Editor::get_size()

Return Return

(array) Dimensions of the image.

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

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply