WordPress at Your Fingertips
function is not described

WP_Filesystem_SSH2::touch() public WP 2.7.0

Sets the access and modification times of a file.

Note: Not implemented.

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

No Hooks.

Return

null. Nothing.

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.

Code of WP_Filesystem_SSH2::touch() WP 5.8.2

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