Erreur de délai d'expiration du post à distance WOTPRESS CURL WP

//this timeout error comes when request takes much time ti fetch response
//in such cases, simply use curl instead of wordpress request functions like wp_remote_post($url) or wp_remote_request($url)

$ch = curl_init();
 	curl_setopt($ch, CURLOPT_URL,$url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($arguments));
    $response = curl_exec($ch);
    $result = json_decode($response);
    curl_close($ch); // Close the connection
 return $result;
Handsome Horse