GC_Image_Editor_GD::make_image()

最后更新于:2021-11-27 23:38:36

GC_Image_Editor_GD::make_image( string|stream$filename, callable$function, array$arguments)

Either calls editor’s save function or handles file as a stream.

参数

$filename

(string|stream) (Required)

$function

(callable) (Required)

$arguments

(array) (Required)

响应

(bool)

源文件

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

	protected function make_image( $filename, $function, $arguments ) {
		if ( gc_is_stream( $filename ) ) {
			$arguments[1] = null;
		}

		return parent::make_image( $filename, $function, $arguments );
	}