Gets the file’s last access time.
Parameters
$file
stringrequired- Path to file.
Source
public function atime( $file ) {
return fileatime( $this->sftp_path( $file ) );
}
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |
CARVIEW |
Gets the file’s last access time.
$file
stringrequiredpublic function atime( $file ) {
return fileatime( $this->sftp_path( $file ) );
}
Uses | Description |
---|---|
WP_Filesystem_SSH2::sftp_path()wp-admin/includes/class-wp-filesystem-ssh2.php | Gets the ssh2.sftp PHP stream wrapper path to open for the given file. |
Version | Description |
---|---|
2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.