Gets the ssh2.sftp PHP stream wrapper path to open for the given file.
Description
This method also works around a PHP bug where the root directory (/) cannot be opened by PHP functions, causing a false failure. In order to work around this, the path is converted to /./ which is semantically the same as / See <a href="https://bugs.php.net/bug.php?id=64169">https://bugs.php.net/bug.php?id=64169</a> for more details.
Parameters
$pathstring
The File/Directory path on the remote server to return
Signature, return type and hooks compared across 5 parsed releases.
About this page
Parsed data
Generated from the wordpress-develop 6.9.7 tag, from src/wp-admin/includes/class-wp-filesystem-ssh2.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.