wp/lib/blobfolio/wp/bm/mime.php
public static function get_aliases($ext='') {
		$ext = trim(strtolower($ext));
		$ext = ltrim($ext, '.');
		if (strlen($ext) && array_key_exists($ext, mime\aliases::$data)) {
			$match = mime\aliases::$data[$ext];
		} else {
			$match = false;
		}

		// Filter.
		return apply_filters('blobmimes_get_mime_aliases', $match, $ext);
	}
public static function get_aliases($ext='') {
		$ext = trim(strtolower($ext));
		$ext = ltrim($ext, '.');
		if (strlen($ext) && array_key_exists($ext, mime\aliases::$data)) {
			$match = mime\aliases::$data[$ext];
		} else {
			$match = false;
		}

		// Filter.
		return apply_filters('blobmimes_get_mime_aliases', $match, $ext);
	}
Return MIME aliases for a particular file extension.

@see {https://www.iana.org/assignments/media-types}
@see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}
@see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}
@see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}
@see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}
@see {https://github.com/Blobfolio/blob-mimes}

@param string $ext File extension.
@return array|bool MIME types or false.