WP_Feed_Cache_Transient::touch

Advertisement

Summery Summery

Sets mod transient.

Syntax Syntax

WP_Feed_Cache_Transient::touch()

Return Return

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

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply