WP_Filesystem_FTPext::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_FTPext::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-ftpext.php
Lines:

1 to 3 of 3
  public function mtime( $file ) {
    return ftp_mdtm( $this->link, $file );
  }
 

 View on GitHub View on Trac