WP_Image_Editor_GD::make_image() protected WP 3.5.0
Either calls editor's save function or handles file as a stream.
{} It's a 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, $function, $arguments );
- $filename(string/stream) (required)
- $function(callable) (required)
- $arguments(array) (required)
Changelog
Since 3.5.0 | Introduced. |
Code of WP_Image_Editor_GD::make_image() WP Image Editor GD::make image WP 5.6
protected function make_image( $filename, $function, $arguments ) {
if ( wp_is_stream( $filename ) ) {
$arguments[1] = null;
}
return parent::make_image( $filename, $function, $arguments );
}