WP_Filesystem_Direct::touch( string $file, int $time, int $atime )
Parameters
- $file
-
(Required)
- $time
-
(Required)
- $atime
-
(Required)
Return
(bool)
Source
File: wp-admin/includes/class-wp-filesystem-direct.php
public function touch($file, $time = 0, $atime = 0) {
if ($time == 0)
$time = time();
if ($atime == 0)
$atime = time();
return @touch($file, $time, $atime);
}