WP_Filesystem_SSH2::is_writable

Advertisement

Summery Summery

Checks if a file or directory is writable.

Syntax Syntax

WP_Filesystem_SSH2::is_writable( string $file )

Parameters Parameters

$file

(Required) Path to file or directory.

Return Return

(bool) Whether $file is writable.

Source Source

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

	 * @param string $path Directory path.
	 * @return bool Whether $path is a directory.
	 */
	public function is_dir( $path ) {

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply