WP_Feed_Cache_Transient::touch(): bool
Sets mod transient.
Return
bool False if value was not set and true if value was set.
Source
File: wp-includes/class-wp-feed-cache-transient.php
.
View all references
public function touch() {
return set_transient( $this->mod_name, time(), $this->lifetime );
}
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |