SimplePie::get_longitude

Advertisement

Summery Summery

Get the longitude coordinates for the feed

Syntax Syntax

SimplePie::get_longitude()

Description Description

Compatible with the W3C WGS84 Basic Geo and GeoRSS specifications

Uses <geo:long>, <geo:lon> or <georss:point>

Return Return

(string|null)

Source Source

File: wp-includes/class-simplepie.php

		}

		if (isset($this->data['headers']['link']) &&
		    preg_match('/<([^>]+)>; rel='.preg_quote($rel).'/',
		               $this->data['headers']['link'], $match))
		{
			return array($match[1]);
		}
		else if (isset($this->data['links'][$rel]))
		{
			return $this->data['links'][$rel];
		}

		return null;
	}

	public function get_all_discovered_feeds()
	{
		return $this->all_discovered_feeds;

Advertisement

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Advertisement

Leave a Reply