WP_Filesystem_FTPext::mtime
Gets the file modification time.
Метод класса: WP_Filesystem_FTPext{}
Хуков нет.
Возвращает
int|false. Unix timestamp representing modification time, false on failure.
Использование
$WP_Filesystem_FTPext = new WP_Filesystem_FTPext(); $WP_Filesystem_FTPext->mtime( $file );
- $file(строка) (обязательный)
- Path to file.
Список изменений
| С версии 2.5.0 | Введена. |
Код WP_Filesystem_FTPext::mtime() WP Filesystem FTPext::mtime WP 7.0
public function mtime( $file ) {
return ftp_mdtm( $this->link, $file );
}