WP_Filesystem_Direct::cwd() – Gets the current working directory.

You appear to be a bot. Output may be restricted

Description

Gets the current working directory.

Usage

$string|false = WP_Filesystem_Direct::cwd();

Parameters

Returns

string|false The current working directory on success, false on failure.

Source

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

1 to 3 of 3
  public function cwd() {
    return getcwd();
  }
 

 View on GitHub View on Trac