SimplePie_Item::get_link

SummerySummery

Get a single link for the item

Syntax

SimplePie_Item::get_link( int $key, string $rel = 'alternate' )

ParametersParameters

$key

(int) (Required) The link that you want to return. Remember that arrays begin with 0, not 1

$rel

(string) (Optional) The relationship of the link to return

Default value: 'alternate'

ReturnReturn

(string|null) Link URL

SourceSource

File: wp-includes/SimplePie/Item.php


			

ChangelogChangelog

Changelog
Version Description
Beta 3 Introduced.
Scroll to Top