WP_Image_Editor::stream( string $mime_type = null ): true|WP_Error

In this article

Streams current image to browser.

Parameters

$mime_typestringoptional
The mime type of the image.

Default:null

Return

true|WP_Error True on success, WP_Error object on failure.

Source

abstract public function stream( $mime_type = null );

Changelog

VersionDescription
3.5.0Introduced.

User Contributed Notes

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