Determines which method to use for reading, writing, modifying, or deleting files on the filesystem.
WP_Filesystem
Initializes and connects the WordPress Filesystem Abstraction classes.
copy_dir
Copies a directory from one location to another via the WordPress Filesystem Abstraction.
_unzip_file_pclzip
Attempts to unzip an archive using the PclZip library.
Advertisement
_unzip_file_ziparchive
Attempts to unzip an archive using the ZipArchive class.
unzip_file
Unzips a specified ZIP file to a location on the filesystem via the WordPress Filesystem Abstraction.
wp_trusted_keys
Retrieves the list of signing keys trusted by WordPress.
verify_file_signature
Verifies the contents of a file against its ED25519 signature.
Advertisement
verify_file_md5
Calculates and compares the MD5 of a file to its expected value.
download_url
Downloads a URL to a local temporary file using the WordPress HTTP API.
wp_handle_sideload
Wrapper for _wp_handle_upload().
wp_handle_upload
Wrapper for _wp_handle_upload().
Advertisement
_wp_handle_upload
Handles PHP uploads in WordPress.
wp_handle_upload_error
validate_file_to_edit
Makes sure that the file that was requested to be edited is allowed to be edited.