WordPress at Your Fingertips
function is not described

SimplePie_Locator::autodiscovery() public WP 1.0

{} It's a method of the class: SimplePie_Locator{}

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Locator = new SimplePie_Locator();
$SimplePie_Locator->autodiscovery();

Code of SimplePie_Locator::autodiscovery() WP 5.8.2

public function autodiscovery()
{
	$done = array();
	$feeds = array();
	$feeds = array_merge($feeds, $this->search_elements_by_tag('link', $done, $feeds));
	$feeds = array_merge($feeds, $this->search_elements_by_tag('a', $done, $feeds));
	$feeds = array_merge($feeds, $this->search_elements_by_tag('area', $done, $feeds));

	if (!empty($feeds))
	{
		return array_values($feeds);
	}

	return null;
}