WordPress at Your Fingertips
function is not described

SimplePie_Misc::parse_mime() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$result = SimplePie_Misc::parse_mime( $mime );
$mime (required)
-

Code of SimplePie_Misc::parse_mime() WP 5.8.2

public static function parse_mime($mime)
{
	if (($pos = strpos($mime, ';')) === false)
	{
		return trim($mime);
	}

	return trim(substr($mime, 0, $pos));
}