WP_Image_Editor::stream( string $mime_type = null )

Streams current image to browser.

Parameters Parameters


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

Default value: null

Top ↑

Return Return

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

Top ↑

Source Source

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

	abstract public function stream( $mime_type = null );

Top ↑

Changelog Changelog

Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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