WP_Filesystem_FTPext::mtime()publicWP 2.5.0

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 6.4.3

public function mtime( $file ) {
	return ftp_mdtm( $this->link, $file );
}