WP_Filesystem_SSH2::touch()publicWP 2.7.0

Sets the access and modification times of a file.

Note: Not implemented.

Method of the class: WP_Filesystem_SSH2{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Filesystem_SSH2 = new WP_Filesystem_SSH2();
$WP_Filesystem_SSH2->touch( $file, $time, $atime );
$file(string) (required)
Path to file.
$time(int)
Modified time to set for file.
$atime(int)
Access time to set for file.

Changelog

Since 2.7.0 Introduced.

WP_Filesystem_SSH2::touch() code WP 6.5.2

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