WP_Filesystem_Base::is_writable

Advertisement

Summery Summery

Checks if a file or directory is writable.

Syntax Syntax

WP_Filesystem_Base::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-base.php

	 *
	 * @param string $file Path to file.
	 * @return bool Whether $file is readable.

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply