WP_Feed_Cache_Transient::load() WordPress Method

The load() method is used to load cached data from the WordPress database. This method is called by the get_feed() method when fetching data from a remote feed.

WP_Feed_Cache_Transient::load() #

Gets the transient.


Return

(mixed) Transient value.


Top ↑

Source

File: wp-includes/class-wp-feed-cache-transient.php

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


Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.