WordPress at a glance
функция не описана

WP_Feed_Cache_Transient::touch() public WP 2.8.0

Sets mod transient.

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

Хуков нет.

Возвращает

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

Использование

$WP_Feed_Cache_Transient = new WP_Feed_Cache_Transient();
$WP_Feed_Cache_Transient->touch();

Changelog

Since 2.8.0 Introduced.

Код WP_Feed_Cache_Transient::touch() WP 5.5.1

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