SimplePie::get_permalink()publicWP 1.0

Get the permalink for the item

Returns the first link available with a relationship of "alternate". Identical to get_link() with key 0

Method of the class: SimplePie{}

No Hooks.

Return

String|null. Link URL

Usage

$SimplePie = new SimplePie();
$SimplePie->get_permalink();

Notes

Changelog

Since 1.0 Introduced.
Since 1.0 (previously called get_feed_link since Preview Release, get_feed_permalink() since 0.8)

SimplePie::get_permalink() code WP 6.5.2

public function get_permalink()
{
	return $this->get_link(0);
}