- %1$s is private and should not be used in themes or plugins directly.
_wp_get_primary_and_additional_mime_types ( $file, $attachment_id )
- (string) file Full path to the image file.
- (int) attachment_id Attachment ID to process.
- (array) An array with two entries, the primary mime type and the list of additional mime types.
- Introduced in WordPress: 6.1.0
- Deprecated in WordPress: —
Extracts the primary and additional mime output types for an image from the $image_mime_transforms.