WP_Filesystem_FTPext::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 @ftp_chdir( $this->link, $dir );
}

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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