Changeset 62935
- Timestamp:
- 07/29/2026 10:01:23 PM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r62878 r62935 6535 6535 * @param string $filename Path to the image. 6536 6536 * @param string $mime_type The source image mime type. 6537 * @return string[]An array of mime type mappings.6537 * @return array<string, string> An array of mime type mappings. 6538 6538 */ 6539 6539 function wp_get_image_editor_output_format( $filename, $mime_type ) { … … 6557 6557 * containing the HEIC/HEIF images mime types. 6558 6558 * 6559 * @param string[] $output_format { 6560 * An array of mime type mappings. Maps a source mime type to a new 6561 * destination mime type. By default maps HEIC/HEIF input to JPEG output. 6562 * 6563 * @type string ...$0 The new mime type. 6564 * } 6565 * @param string $filename Path to the image. 6566 * @param string $mime_type The source image mime type. 6559 * @param array<string, string> $output_format An array of mime type mappings. Maps a source mime type to a new 6560 * destination mime type. By default maps HEIC/HEIF input to JPEG output. 6561 * @param string $filename Path to the image. 6562 * @param string $mime_type The source image mime type. 6567 6563 */ 6568 6564 return apply_filters( 'image_editor_output_format', $output_format, $filename, $mime_type );
Note:
See TracChangeset
for help on using the changeset viewer.