GC_Image_Editor::get_suffix()

最后更新于:2021-11-27 23:35:40

GC_Image_Editor::get_suffix()

Builds and returns proper suffix for file based on height and width.

响应

(string|false) suffix

源文件

文件: gc-includes/class-gc-image-editor.php

	public function get_suffix() {
		if ( ! $this->get_size() ) {
			return false;
		}

		return "{$this->size['width']}x{$this->size['height']}";
	}