WP_Filesystem_FTPext::touch() – Sets the access and modification times of a file.
You appear to be a bot. Output may be restricted
Description
Sets the access and modification times of a file.
Note: If $file doesn't exist, it will be created.
Usage
$bool = WP_Filesystem_FTPext::touch( $file, $time, $atime );
Parameters
- $file
- ( string ) required – Path to file.
- $time
- ( int ) optional – Optional. Modified time to set for file. Default 0.
- $atime
- ( int ) optional – Optional. Access time to set for file. Default 0.
Returns
bool True on success, false on failure.
Source
File name: wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php
Lines:
1 to 3 of 3
public function touch( $file, $time = 0, $atime = 0 ) { return false; }