WP_Feed_Cache_Transient::load()publicWP 2.8.0

Retrieves the data saved in the transient.

Method of the class: WP_Feed_Cache_Transient{}

No Hooks.

Return

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.7.2

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