WP_Image_Editor::get_size()publicWP 3.5.0

Gets dimensions of image.

Method of the class: WP_Image_Editor{}

No Hooks.

Return

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 6.6.2

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