WordPress at Your Fingertips
function is not described

SimplePie_Enclosure::get_type() public WP 1.0

Get mimetype of the enclosure

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

No Hooks.

Return

String|null. MIME type

Usage

$SimplePie_Enclosure = new SimplePie_Enclosure();
$SimplePie_Enclosure->get_type();

Notes

  • See: get_real_type()

Code of SimplePie_Enclosure::get_type() WP 5.8.2

public function get_type()
{
	if ($this->type !== null)
	{
		return $this->type;
	}

	return null;
}