WP_Filesystem_SSH2::cwd

Advertisement

Summery Summery

Gets the current working directory.

Syntax Syntax

WP_Filesystem_SSH2::cwd()

Return Return

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

Source Source

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

		if ( $cwd ) {
			$cwd = trailingslashit( trim( $cwd ) );
		}

		return $cwd;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?