WP_Filesystem_Base::find_base_dir() – Locates a folder on the remote filesystem.
You appear to be a bot. Output may be restricted
Description
Locates a folder on the remote filesystem.
Usage
$string = WP_Filesystem_Base::find_base_dir( $base, $verbose );
Parameters
- $base
- ( string ) optional default: . – Optional. The folder to start searching from. Default '.'.
- $verbose
- ( bool ) optional – Optional. True to display debug information. Default false.
Returns
string The location of the remote path.
Source
File name: wordpress/wp-admin/includes/class-wp-filesystem-base.php
Lines:
1 to 5 of 5
public function find_base_dir( $base = '.', $verbose = false ) { _deprecated_function( __FUNCTION__, '2.7.0', 'WP_Filesystem_Base::abspath() or WP_Filesystem_Base::wp_*_dir()' ); $this->verbose = $verbose; return $this->WP_Filesystem_Base::abspath(); }