WP_Filesystem_Base::chdir() WordPress Method
The chdir() method for the WP_Filesystem_Base class changes the current directory. This is useful for operations that need to be performed relative to the WordPress install directory.
WP_Filesystem_Base::chdir( string $dir ) #
Changes current directory.
Contents
Parameters
- $dir
 (string)(Required)The new current directory.
Return
(bool) True on success, false on failure.
Source
File: wp-admin/includes/class-wp-filesystem-base.php
	public function chdir( $dir ) {
		return false;
	}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description | 
|---|---|
| 2.5.0 | Introduced. |