WP_Image_Editor::stream( string $mime_type = null )

Streams current image to browser.


Parameters Parameters

$mime_type

(string) (Optional) The mime type of the image.

Default value: null


Top ↑

Return Return

(bool|WP_Error) True on success, WP_Error object or false on failure.


Top ↑

Source Source

File: wp-includes/class-wp-image-editor.php

	abstract public function stream( $mime_type = null );

Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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