WP_Image_Editor::get_size │ public │ WP 3.5.0

Gets dimensions of image.

Method of the class: WP_Image_Editor{}

No Hooks.

Returns

int[]. Dimensions of the image.

Usage

$WP_Image_Editor = new WP_Image_Editor();
$WP_Image_Editor->get_size();

Changelog

Since 3.5.0 Introduced.

WP_Image_Editor::get_size() code WP 7.1.2

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