WP_Upgrader::download_package()
Download a package.
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Download a package.
Flatten the results of WP_Filesystem_Base::dirlist() for iterating over.
Connect to the filesystem.
Add the generic strings to WP_Upgrader::$strings.
Initialize the upgrader.
Install a package.
Toggle maintenance mode for the site.
Releases an upgrader lock.
Run an upgrade/installation.
Unpack a compressed package file.