WP_Filesystem_SSH2::touch()publicWP 2.7.0

Sets the access and modification times of a file.

Note: Not implemented.

Метод класса: WP_Filesystem_SSH2{}

Хуков нет.


null. Ничего (null).


$WP_Filesystem_SSH2 = new WP_Filesystem_SSH2();
$WP_Filesystem_SSH2->touch( $file, $time, $atime );
$file(строка) (обязательный)
Path to file.
Modified time to set for file.
Access time to set for file.

Список изменений

С версии 2.7.0 Введена.

Код WP_Filesystem_SSH2::touch() WP 6.5.3

public function touch( $file, $time = 0, $atime = 0 ) {
	// Not implemented.