GC_Filesystem_Direct::is_writable()
最后更新于:2021-11-27 18:24:25
GC_Filesystem_Direct::is_writable( string$file)Checks if a file or directory is writable.
参数
- $file
-
(string) (Required) Path to file or directory.
响应
(bool) Whether $file is writable.
源文件
文件: gc-admin/includes/class-gc-filesystem-direct.php
public function is_writable( $file ) {
return @is_writable( $file );
}