WP_Feed_Cache_Transient::mtime() WordPress Method

The WP_Feed_Cache_Transient::mtime() method is used to get the modification time of a cached feed. This can be useful for determining if a cached feed is still valid.

WP_Feed_Cache_Transient::mtime() #

Gets mod transient.


Return

(mixed) Transient value.


Top ↑

Source

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

	public function mtime() {
		return get_transient( $this->mod_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.