Filters the image editor output format mapping.
\array<string,$filenamestring$mime_typestringwp-includes/media.php:6567wp_get_image_editor_output_format()wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1587WP_REST_Attachments_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php:1611WP_REST_Attachments_Controller::prepare_item_for_response() * * @param array<string, string> $output_format An array of mime type mappings. Maps a source mime type to a new * destination mime type. By default maps HEIC/HEIF input to JPEG output. * @param string $filename Path to the image. * @param string $mime_type The source image mime type. */ return apply_filters( 'image_editor_output_format', $output_format, $filename, $mime_type );} /** * Checks whether client-side media processing is enabled. * * Client-side media processing uses the browser's capabilities to handleIntroduced in 5.8.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$output_format removed.verified against source