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

(string) (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

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