WordPress 5.9.0 Hooks, Functions, Classes and Methods
Page 25

download_url()

Downloads a URL to a local temporary file using the WordPress HTTP API.