WP_Filesystem_SSH2::atime() – Gets the file’s last access time.

You appear to be a bot. Output may be restricted

Description

Gets the file's last access time.

Usage

$int|false = WP_Filesystem_SSH2::atime( $file );

Parameters

$file
( string ) required – Path to file.

Returns

int|false Unix timestamp representing last access time, false on failure.

Source

File name: wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php
Lines:

1 to 3 of 3
  public function atime( $file ) {
    return fileatime( $this->WP_Filesystem_SSH2::sftp_path( $file ) );
  }
 

 View on GitHub View on Trac