SimplePie::get_raw_data()publicWP 1.0

Get the raw XML

This is the same as the old $feed->enable_xml_dump(true), but returns the data instead of printing it.

Method of the class: SimplePie{}

No Hooks.

Return

String|true|false. Raw XML data, false if the cache is used

Usage

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

SimplePie::get_raw_data() code WP 6.5.2

public function get_raw_data()
{
	return $this->raw_data;
}