This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tell cURL to use TLS 1.2 | |
curl_setopt($handle, CURLOPT_SSLVERSION, 6); // There is a constant you can use but it's apparently not available on all systems. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tell the WP cURL handle to use TLS 1.2 | |
function lab_http_api_curl($handle) { | |
curl_setopt($handle, CURLOPT_SSLVERSION, 6); | |
} | |
add_action('http_api_curl', 'lab_http_api_curl', PHP_INT_MAX, 1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="https://p2p.onecause.com/tastefestrun/colin-brady-2">I'm running the International Food Fest Race on April 9th to bring wellness, respite and community to caregivers. Please help me support the amazing parents by making a donation through my page, or signing up to run with me!</a> |