Checks if a file is readable.
WP_Filesystem_Direct::is_writable
Checks if a file or directory is writable.
WP_Filesystem_Direct::atime
Gets the file’s last access time.
WP_Filesystem_Direct::mtime
Gets the file modification time.
Advertisement
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.
WP_Filesystem_Direct::rmdir
Deletes a directory.
Advertisement
WP_Filesystem_Direct::dirlist
Gets details for files in a directory or a specific file.
WP_Filesystem_Direct::group
Gets the file’s group.
WP_Filesystem_Direct::__construct
Constructor.
WP_Filesystem_Direct::get_contents
Reads entire file into a string.
Advertisement
WP_Filesystem_Direct::get_contents_array
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.