Checks if a file or directory exists.
WP_Filesystem_Base::is_file
Checks if resource is a file.
WP_Filesystem_Base::is_dir
Checks if resource is a directory.
WP_Filesystem_Base::is_readable
Checks if a file is readable.
Advertisement
WP_Filesystem_Base::is_writable
Checks if a file or directory is writable.
WP_Filesystem_Base::atime
Gets the file’s last access time.
WP_Filesystem_Base::mtime
Gets the file modification time.
WP_Filesystem_Base::size
Gets the file size (in bytes).
Advertisement
WP_Filesystem_Base::touch
Sets the access and modification times of a file.
WP_Filesystem_Base::mkdir
Creates a directory.
WP_Filesystem_Base::chmod
Changes filesystem permissions.
WP_Filesystem_Base::rmdir
Deletes a directory.
Advertisement
WP_Filesystem_Base::owner
Gets the file owner.
WP_Filesystem_Base::dirlist
Gets details for files in a directory or a specific file.
WP_Filesystem_Base::group
Gets the file’s group.