WP_Filesystem_SSH2::mtime() – Gets the file modification time.

You appear to be a bot. Output may be restricted

Description

Gets the file modification time.

Usage

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

Parameters

$file
( string ) required – Path to file.

Returns

int|false Unix timestamp representing modification time, false on failure.

Source

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

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

 View on GitHub View on Trac