Uses
Uses | Description |
---|---|
wp-includes/functions.php: wp_is_stream() | Test if a given path is a stream URL |
wp-includes/class-wp-image-editor.php: WP_Image_Editor::make_image() | Either calls editor’s save function or handles file as a stream. |
Either calls editor’s save function or handles file as a stream.
(string|stream) (Required)
(callable) (Required)
(array) (Required)
(bool)
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 ); }
Version | Description |
---|---|
3.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_image_editor_gd/make_image