WP_Image_Editor_GD::make_image

Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$filename

(Required)

$function

(Required)

$arguments

(Required)

Return Return

(bool)

Source Source

File: wp-includes/class-wp-image-editor-gd.php

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Advertisement

Leave a Reply