SimplePie_Enclosure::get_medium

Advertisement

Summery Summery

Get the medium

Syntax Syntax

SimplePie_Enclosure::get_medium()

Return Return

(string|null) Should be one of 'image', 'audio', 'video', 'document', 'executable'

Source Source

File: wp-includes/SimplePie/Enclosure.php

	 *
	 * @return array|null Array of {@see SimplePie_Rating} objects
	 */
	public function get_ratings()
	{
		if ($this->ratings !== null)
		{
			return $this->ratings;
		}

		return null;

Advertisement

Advertisement

Leave a Reply

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