SimplePie::subscribe_url

Advertisement

Summery Summery

Get the URL for the feed

Syntax Syntax

SimplePie::subscribe_url()

Description Description

May or may not be different from the URL passed to set_feed_url(), depending on whether auto-discovery was used.

Return Return

(string|null)

Source Source

File: wp-includes/class-simplepie.php

	 *
	 * This is the same as the old `$feed->enable_xml_dump(true)`, but returns
	 * the data instead of printing it.
	 *
	 * @return string|boolean Raw XML data, false if the cache is used
	 */
	public function get_raw_data()
	{
		return $this->raw_data;
	}

Advertisement

Advertisement

Leave a Reply