WP_Feed_Cache_Transient::touch()

Sets mod transient.


Description Description


Return Return

(bool) False if value was not set and true if value was set.


Top ↑

Source Source

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

	public function touch() {
		return set_transient( $this->mod_name, time(), $this->lifetime );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.