WP_Filesystem_FTPext::chdir()publicWP 2.5.0

Changes current directory.

Метод класса: WP_Filesystem_FTPext{}

Хуков нет.

Возвращает

true|false. True on success, false on failure.

Использование

$WP_Filesystem_FTPext = new WP_Filesystem_FTPext();
$WP_Filesystem_FTPext->chdir( $dir );
$dir(строка) (обязательный)
The new current directory.

Список изменений

С версии 2.5.0 Введена.

Код WP_Filesystem_FTPext::chdir() WP 6.5.2

public function chdir( $dir ) {
	return @ftp_chdir( $this->link, $dir );
}