Reads entire file into an array.
WP_Filesystem_Direct::put_contents
Writes a string to a file.
WP_Filesystem_Direct::cwd
Gets the current working directory.
WP_Filesystem_Direct::chdir
Changes current directory.
Advertisement
WP_Filesystem_Direct::chgrp
Changes the file group.
WP_Filesystem_Direct::chmod
Changes filesystem permissions.
WP_Filesystem_Direct::is_writable
Checks if a file or directory is writable.
WP_Filesystem_Direct::atime
Gets the file’s last access time.
Advertisement
WP_Filesystem_Direct::mtime
Gets the file modification time.
WP_Filesystem_Direct::size
Gets the file size (in bytes).
WP_Filesystem_Direct::touch
Sets the access and modification times of a file.
WP_Filesystem_Direct::mkdir
Creates a directory.
Advertisement
WP_Filesystem_Direct::owner
Gets the file owner.
WP_Filesystem_Direct::rmdir
Deletes a directory.
WP_Filesystem_Direct::getchmod
Gets the permissions of the specified file or filepath in their octal format.