Cartflows_Helper::download_file( string $file = '', array $overrides = array(), int $timeout_seconds = 300 )
Download File Into Uploads Directory
Parameters
- $file
-
(string) (Optional) Download File URL.
Default value: ''
- $overrides
-
(array) (Optional) Upload file arguments.
Default value: array()
- $timeout_seconds
-
(int) (Optional) Timeout in downloading the XML file in seconds.
Default value: 300
Return
(array) Downloaded file data.
Source
File: classes/class-cartflows-helper.php
Changelog
Version | Description |
---|---|
x.x.x | Introduced. |