Saves current image to file.
(string) (Optional)
Default value: null
(string) (Optional)
Default value: null
(array|WP_Error) 'path'=>string, 'file'=>string, 'width'=>int, 'height'=>int, 'mime-type'=>string
File: wp-includes/class-wp-image-editor.php
abstract public function save( $destfilename = null, $mime_type = null );
Version | Description |
---|---|
3.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_image_editor/save