WordPress at Your Fingertips
function is not described

WP_Feed_Cache_Transient::touch() public WP 2.8.0

Sets mod transient.

{} It's a method of the class: WP_Feed_Cache_Transient{}

No Hooks.


true|false. False if value was not set and true if value was set.


$WP_Feed_Cache_Transient = new WP_Feed_Cache_Transient();

Code of WP_Feed_Cache_Transient::touch() WP 5.8.3

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