SimplePie_Enclosure::get_size

Advertisement

Summery Summery

Get the file size (in MiB)

Syntax Syntax

SimplePie_Enclosure::get_size()

Return Return

(float|null) File size in mebibytes (1048 bytes)

Source Source

File: wp-includes/SimplePie/Enclosure.php

	 * Get mimetype of the enclosure
	 *
	 * @see get_real_type()
	 * @return string|null MIME type
	 */
	public function get_type()
	{
		if ($this->type !== null)
		{
			return $this->type;
		}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.