WP_Filesystem_ftpsockets::chdir( string $dir ): bool

In this article

Changes current directory.

Parameters

$dirstringrequired
The new current directory.

Return

bool True on success, false on failure.

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.