WordPress at a glance
function is not described

WP_Image_Editor::stream() public WP 3.5.0

Streams current image to browser.

{} It's a method of the class: WP_Image_Editor{}

No Hooks.

Return

true/false/WP_Error. True on success, WP_Error object or false on failure.

Usage

$WP_Image_Editor = new WP_Image_Editor();
$WP_Image_Editor->stream( $mime_type );
$mime_type(string)
The mime type of the image.
Default: null

Changelog

Since 3.5.0 Introduced.

Code of WP_Image_Editor::stream() WP 5.5.1

<?php
abstract public function stream( $mime_type = null );