WP_Filesystem_SSH2::cwd()


Return

(bool)


Source

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

	public function cwd() {
		$cwd = ssh2_sftp_realpath( $this->sftp_link, '.' );
		if ( $cwd ) {
			$cwd = trailingslashit( trim( $cwd ) );
		}
		return $cwd;
	}