WP_Filesystem_FTPext::cwd

Advertisement

Summery Summery

Gets the current working directory.

Syntax Syntax

WP_Filesystem_FTPext::cwd()

Return Return

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

Source Source

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

	 *
	 * @since 2.5.0
	 *
	 * @return string|false The current working directory on success, false on failure.
	 */
	public function cwd() {
		$cwd = ftp_pwd( $this->link );

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply