WP_Filesystem_SSH2::atime( string $file ): int|false

In this article

Gets the file’s last access time.

Parameters

$filestringrequired
Path to file.

Return

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

Source

public function atime( $file ) {
	return fileatime( $this->sftp_path( $file ) );
}

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

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