Snoopy::fetchlinks()publicWP 1.0

Метод класса: Snoopy{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$Snoopy = new Snoopy();
$Snoopy->fetchlinks( $URI );
$URI (обязательный)
-

Код Snoopy::fetchlinks() WP 6.5.2

function fetchlinks($URI)
{
	if ($this->fetch($URI))
	{
		if($this->lastredirectaddr)
			$URI = $this->lastredirectaddr;
		if(is_array($this->results))
		{
			for($x=0;$x<count($this->results);$x++)
				$this->results[$x] = $this->_striplinks($this->results[$x]);
		}
		else
			$this->results = $this->_striplinks($this->results);

		if($this->expandlinks)
			$this->results = $this->_expandlinks($this->results, $URI);
		return true;
	}
	else
		return false;
}