wp_get_image_editor_output_format
- %1$s is private and should not be used in themes or plugins directly.
wp_get_image_editor_output_format ( $filename, $mime_type )
Access:Parameters:- (string) filename Path to the image.
- (string) mime_type The source image mime type.
Returns:- (string[]) An array of mime type mappings.
Defined at: - Introduced in WordPress: 6.7.0
- Deprecated in WordPress: —
Description
Determines the output format for the image editor.