WP_Filesystem_ftpsockets::is_writable

Advertisement

Summery Summery

Checks if a file or directory is writable.

Syntax Syntax

WP_Filesystem_ftpsockets::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-ftpsockets.php

	/**
	 * Checks if a file is readable.

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply