File system (WP_Filesystem) (category)
copy_dir() | Copies a directory from one location to another via the WordPress Filesystem Abstraction. |
get_temp_dir() | Determine a writable directory for temporary files. |
list_files() | Returns a listing of all files in the specified folder and all subdirectories up to 100 levels deep. The depth of the recursiveness can be controlled by the $levels param. |
unzip_file() | Unzips a specified ZIP file to a location on the Filesystem via the WordPress Filesystem Abstraction. Assumes that WP_Filesystem() has already been called and set up. Does not extract a root-level __MACOSX directory, if present. |
wp_delete_file() | Delete a file. This function is a wrapper for PHP's unlink() function — it uses |
wp_delete_file_from_directory() | Deletes a file if its path is within the given directory. |
wp_filesize() | Wrapper for PHP filesize with filters and casting the result as an integer. |
WP_Filesystem() | Initializes and connects the WordPress Filesystem Abstraction classes. |
WP_Filesystem_Direct{} | WordPress Filesystem Class for direct PHP file and folder manipulation. |
wp_mkdir_p() | Recursive directory creation based on full path. |