SimplePie_Locator::autodiscovery

Advertisement

Syntax Syntax

SimplePie_Locator::autodiscovery()

Source Source

File: wp-includes/SimplePie/Locator.php

			}
		}
	}

	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);
		}

Advertisement

Advertisement

Leave a Reply