WP_Image_Editor_GD::make_image( string $filename, callable $callback, array $arguments ): bool

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


Parameters

$filename string Required
$callback callable Required
$arguments array Required

Top ↑

Return

bool


Top ↑

Source

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

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

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


Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.