WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

SimplePie_Locator::find() public WP 1.0

{} Это метод класса: SimplePie_Locator{}

Хуков нет.

Возвращает

Null. Ничего.

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

$SimplePie_Locator = new SimplePie_Locator();
$SimplePie_Locator->find( $type, $working );

Код SimplePie_Locator::find() WP 5.5.3

<?php
public function find($type = SIMPLEPIE_LOCATOR_ALL, &$working)
{
	if ($this->is_feed($this->file))
	{
		return $this->file;
	}

	if ($this->file->method & SIMPLEPIE_FILE_SOURCE_REMOTE)
	{
		$sniffer = $this->registry->create('Content_Type_Sniffer', array($this->file));
		if ($sniffer->get_type() !== 'text/html')
		{
			return null;
		}
	}

	if ($type & ~SIMPLEPIE_LOCATOR_NONE)
	{
		$this->get_base();
	}

	if ($type & SIMPLEPIE_LOCATOR_AUTODISCOVERY && $working = $this->autodiscovery())
	{
		return $working[0];
	}

	if ($type & (SIMPLEPIE_LOCATOR_LOCAL_EXTENSION | SIMPLEPIE_LOCATOR_LOCAL_BODY | SIMPLEPIE_LOCATOR_REMOTE_EXTENSION | SIMPLEPIE_LOCATOR_REMOTE_BODY) && $this->get_links())
	{
		if ($type & SIMPLEPIE_LOCATOR_LOCAL_EXTENSION && $working = $this->extension($this->local))
		{
			return $working[0];
		}

		if ($type & SIMPLEPIE_LOCATOR_LOCAL_BODY && $working = $this->body($this->local))
		{
			return $working[0];
		}

		if ($type & SIMPLEPIE_LOCATOR_REMOTE_EXTENSION && $working = $this->extension($this->elsewhere))
		{
			return $working[0];
		}

		if ($type & SIMPLEPIE_LOCATOR_REMOTE_BODY && $working = $this->body($this->elsewhere))
		{
			return $working[0];
		}
	}
	return null;
}