WP_Image_Editor_GD::make_image()protectedWP 3.5.0

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

Method of the class: WP_Image_Editor_GD{}

No Hooks.

Return

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->make_image( $filename, $callback, $arguments );
$filename(string) (required)
-
$callback(callable) (required)
-
$arguments(array) (required)
-

Changelog

Since 3.5.0 Introduced.

WP_Image_Editor_GD::make_image() code WP 6.4.3

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

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