WordPress at a glance
function is not described

getid3_lib::ImageExtFromMime() public WP 1.0

{} It's a method of the class: getid3_lib{}

No Hooks.

Return

String. Nothing.

Usage

$result = getid3_lib::ImageExtFromMime( $mime_type );
$mime_type(string) (required)
-

Code of getid3_lib::ImageExtFromMime() WP 5.7.2

<?php
public static function ImageExtFromMime($mime_type) {
	// temporary way, works OK for now, but should be reworked in the future
	return str_replace(array('image/', 'x-', 'jpeg'), array('', '', 'jpg'), $mime_type);
}