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

Streams current image to browser.


Parameters

$mime_type string Optional
The mime type of the image.

Default: null


Top ↑

Return

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


Top ↑

Source

File: wp-includes/class-wp-image-editor.php. View all references

abstract public function stream( $mime_type = null );

Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

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