Changeset 53547 for trunk/src/wp-includes/class-wp-image-editor.php
- Timestamp:
- 06/21/2022 11:16:09 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor.php
r53317 r53547 76 76 * 77 77 * @since 3.5.0 78 * @since 6.0.0 The `$filesize` value was added to the returned array. 78 79 * @abstract 79 80 * 80 81 * @param string $destfilename Optional. Destination filename. Default null. 81 82 * @param string $mime_type Optional. The mime-type. Default null. 82 * @return array|WP_Error {'path'=>string, 'file'=>string, 'width'=>int, 'height'=>int, 'mime-type'=>string} 83 * @return array|WP_Error { 84 * Array on success or WP_Error if the file failed to save. 85 * 86 * @type string $path Path to the image file. 87 * @type string $file Name of the image file. 88 * @type int $width Image width. 89 * @type int $height Image height. 90 * @type string $mime-type The mime type of the image. 91 * @type int $filesize File size of the image. 92 * } 83 93 */ 84 94 abstract public function save( $destfilename = null, $mime_type = null );
Note: See TracChangeset
for help on using the changeset viewer.