classes/ocembed.php
function maybe_make_link( $url )
    {	
		if ( array_key_exists( $url, $this->links ) )
		{
			if ( is_array( $this->links[$url] ) )
			{
				$output = $this->links[$url][0];
			}
			else
			{
				$output = $this->links[$url];
			}
		}
		else
		{
			$output = $url; 
		}
		return $output;
	}
function maybe_make_link( $url )
    {	
		if ( array_key_exists( $url, $this->links ) )
		{
			if ( is_array( $this->links[$url] ) )
			{
				$output = $this->links[$url][0];
			}
			else
			{
				$output = $this->links[$url];
			}
		}
		else
		{
			$output = $url; 
		}
		return $output;
	}
function maybe_make_link ( $ url ) { if ( array_key_exists ( $ url , $ this -> links ) ) { if ( is_array ( $ this -> links [ $ url ] ) ) { $ output = $ this -> links [ $ url ] [ 0 ] ; } else { $ output = $ this -> links [ $ url ] ; } } else { $ output = $ url ; } return $ output ; }
Conditionally makes a hyperlink based on an internal class variable.

@param string $url URL to potentially be linked.
@return string Linked URL or the original URL.
Conditionally makes a hyperlink based on an internal class variable .