WP_Filesystem_ftpsockets::is_dir( string $path )


Parameters

$path

(Required)


Return

(bool)


Source

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

	public function is_dir($path) {
		$cwd = $this->cwd();
		if ( $this->chdir($path) ) {
			$this->chdir($cwd);
			return true;
		}
		return false;
	}