WP_Filesystem_ftpsockets::chdir( string $dir )

Changes current directory.


Parameters

$dir

(Required) The new current directory.


Return

(bool) True on success, false on failure.


Source

File: wp-admin/includes/class-wp-filesystem-ftpsockets.php

	public function chdir($file) {
		return $this->ftp->chdir($file);
	}


Changelog

Changelog
Version Description
2.5.0 Introduced.