WP_Filesystem_FTPext::mtime( string $file ): int|false

In this article

Gets the file modification time.

Parameters

$filestringrequired
Path to file.

Return

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

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.