Gets details for files in a directory or a specific file.
WP_Filesystem_Direct::move
Moves a file.
WP_Filesystem_Direct::delete
Deletes a file or directory.
WP_Filesystem_Direct::exists
Checks if a file or directory exists.
Advertisement
WP_Filesystem_Direct::is_file
Checks if resource is a file.
WP_Filesystem_Direct::is_dir
Checks if resource is a directory.
WP_Filesystem_Direct::is_readable
Checks if a file is readable.
WP_Filesystem_Direct::put_contents
Writes a string to a file.
Advertisement
WP_Filesystem_Direct::is_writable
Checks if a file or directory is writable.
WP_Filesystem_Direct::cwd
Gets the current working directory.
WP_Filesystem_Direct::atime
Gets the file’s last access time.
WP_Filesystem_Direct::chdir
Changes current directory.
Advertisement
WP_Filesystem_Direct::mtime
Gets the file modification time.
WP_Filesystem_Direct::chgrp
Changes the file group.
WP_Filesystem_Direct::size
Gets the file size (in bytes).