Summery Summery
Get the base URL value from the feed
Syntax Syntax
Description Description
Uses <xml:base> if available, otherwise uses the first link in the feed, or failing that, the URL of the feed itself.
Parameters Parameters
- $element
-
(Optional)
Default value: array()
Return Return
(string)
Source Source
File: wp-includes/class-simplepie.php
{
if ($this->feed_url !== null)
{
return str_replace('&', '&',
$this->sanitize($this->feed_url,
SIMPLEPIE_CONSTRUCT_IRI));
}
}
return null;
}
/**
* Get data for an feed-level element
*
* This method allows you to get access to ANY element/attribute that is a