Uses
Uses | Description |
---|---|
wp-includes/option.php: set_transient() | Sets/updates the value of a transient. |
Sets mod transient.
(bool) False if value was not set and true if value was set.
File: wp-includes/class-wp-feed-cache-transient.php
public function touch() { return set_transient( $this->mod_name, time(), $this->lifetime ); }
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_feed_cache_transient/touch