WP_Filesystem_FTPext::is_writable()publicWP 2.5.0

Checks if a file or directory is writable.

Метод класса: WP_Filesystem_FTPext{}

Хуков нет.

Возвращает

true|false. Whether $path is writable.

Использование

$WP_Filesystem_FTPext = new WP_Filesystem_FTPext();
$WP_Filesystem_FTPext->is_writable( $path );
$path(строка) (обязательный)
Path to file or directory.

Список изменений

С версии 2.5.0 Введена.

Код WP_Filesystem_FTPext::is_writable() WP 6.4.3

public function is_writable( $path ) {
	return true;
}