WP_Filesystem_SSH2::atime()
Gets the file's last access time.
Метод класса: WP_Filesystem_SSH2{}
Хуков нет.
Возвращает
int|false
. Unix timestamp representing last access time, false on failure.
Использование
$WP_Filesystem_SSH2 = new WP_Filesystem_SSH2(); $WP_Filesystem_SSH2->atime( $file );
- $file(строка) (обязательный)
- Path to file.
Список изменений
С версии 2.7.0 | Введена. |
Код WP_Filesystem_SSH2::atime() WP Filesystem SSH2::atime WP 6.5.2
public function atime( $file ) { return fileatime( $this->sftp_path( $file ) ); }