SimplePie_Enclosure::get_player

Advertisement

Summery Summery

Get the player URL

Syntax Syntax

SimplePie_Enclosure::get_player()

Description Description

Typically the same as get_permalink()

Return Return

(string|null) Player URL

Source Source

File: wp-includes/SimplePie/Enclosure.php

	 */
	public function get_restriction($key = 0)
	{
		$restrictions = $this->get_restrictions();
		if (isset($restrictions[$key]))
		{
			return $restrictions[$key];
		}

		return null;
	}

Advertisement

Advertisement

Leave a Reply

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