WP_Feed_Cache_Transient::loadpublicWP 2.8.0

Retrieves the data saved in the transient.

Method of the class: WP_Feed_Cache_Transient{}

No Hooks.

Returns

Array. Data for SimplePie::$data.

Usage

$WP_Feed_Cache_Transient = new WP_Feed_Cache_Transient();
$WP_Feed_Cache_Transient->load();

Changelog

Since 2.8.0 Introduced.

WP_Feed_Cache_Transient::load() code WP 6.9

public function load() {
	return get_site_transient( $this->name );
}