WPDev.one
Core Function
View Source on Trac ↗

stream_preview_image()

stream_preview_image( mixed $post_id )

Streams image in post to browser, along with enqueued changes

Parameters 1 required

Name / Type Description
$post_id
int

Attachment post ID.

Required

Return Value

(bool)
True on success, false on failure.

Function Information

Since Version
2.9.0
Source File
wp-admin/includes/image-edit.php
Advertisement