This method has been deprecated. Use WP_Filesystem::abspath() instead.

WP_Filesystem_Base::find_base_dir( string $base = '.', bool $echo = false )

Locate a folder on the remote filesystem.


Description

See also


Parameters

$base

(string) (Optional) The folder to start searching from.

Default value: '.'

$echo

(bool) (Optional) True to display debug information.

Default value: false


Return

(string) The location of the remote path.


Source

File: wp-admin/includes/class-wp-filesystem-base.php

	public function find_base_dir( $base = '.', $echo = false ) {
		_deprecated_function(__FUNCTION__, 'WP-2.7.0', 'WP_Filesystem::abspath() or WP_Filesystem::wp_*_dir()' );
		$this->verbose = $echo;
		return $this->abspath();
	}


Changelog

Changelog
Version Description
WP-2.7.0 use WP_Filesystem::abspath() or WP*Filesystem::wp**_dir() instead.
WP-2.5.0 Introduced. This method has been deprecated. Use WP_Filesystem::abspath() instead.