WP_Filesystem_Direct::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( $file );
}

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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