WP_Filesystem_SSH2::chdir() – Changes current directory.

You appear to be a bot. Output may be restricted

Description

Changes current directory.

Usage

$bool = WP_Filesystem_SSH2::chdir( $dir );

Parameters

$dir
( string ) required – The new current directory.

Returns

bool True on success, false on failure.

Source

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

1 to 3 of 3
  public function chdir( $dir ) {
    return $this->WP_Filesystem_SSH2::run_command( 'cd ' . $dir, true );
  }
 

 View on GitHub View on Trac