WP_Image_Editor::stream()
Streams current image to browser.
Метод класса: WP_Image_Editor{}
Хуков нет.
Возвращает
true|WP_Error
. True on success, WP_Error object on failure.
Использование
$WP_Image_Editor = new WP_Image_Editor(); $WP_Image_Editor->stream( $mime_type );
- $mime_type(строка)
- The mime type of the image.
По умолчанию: null
Список изменений
С версии 3.5.0 | Введена. |
Код WP_Image_Editor::stream() WP Image Editor::stream WP 6.7.1
abstract public function stream( $mime_type = null );