WP_Filesystem_SSH2::chdir

Advertisement

Summery Summery

Changes current directory.

Syntax Syntax

WP_Filesystem_SSH2::chdir( string $dir )

Parameters Parameters

$dir

(string) (Required) The new current directory.

Return Return

(bool) True on success, false on failure.

Source Source

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

		return $this->run_command( 'cd ' . $dir, true );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.