Snoopy::fetchtext()publicWP 1.0

Method of the class: Snoopy{}

No Hooks.

Return

null. Nothing (null).

Usage

$Snoopy = new Snoopy();
$Snoopy->fetchtext( $URI );
$URI (required)
-

Snoopy::fetchtext() code WP 6.5.2

function fetchtext($URI)
{
	if($this->fetch($URI))
	{
		if(is_array($this->results))
		{
			for($x=0;$x<count($this->results);$x++)
				$this->results[$x] = $this->_striptext($this->results[$x]);
		}
		else
			$this->results = $this->_striptext($this->results);
		return true;
	}
	else
		return false;
}