EDD_SL_Plugin_Updater::http_request_args PHP Method

http_request_args() public method

Disable SSL verification in order to prevent download update failures
public http_request_args ( array $args, string $url ) : object
$args array
$url string
return object $array
    function http_request_args($args, $url)
    {
        // If it is an https request and we are performing a package download, disable ssl verification
        if (strpos($url, 'https://') !== false && strpos($url, 'edd_action=package_download')) {
            $args['sslverify'] = false;
        }
        return $args;
    }