WP_Filesystem_ftpsockets::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 $this->ftp->mdtm( $file );
}

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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