WP_Filesystem_Base::cwd() WordPress Method
The cwd() method of WP_Filesystem_Base is used to change the working directory. This is useful for operations that need to be performed relative to the current directory.
WP_Filesystem_Base::cwd() #
Gets the current working directory.
Return
(string|false) The current working directory on success, false on failure.
Source
File: wp-admin/includes/class-wp-filesystem-base.php
public function cwd() { return false; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |