Created
June 21, 2017 09:32
-
-
Save vanbo/cc12eea67de608ea3994a8ef95966241 to your computer and use it in GitHub Desktop.
psigate-curl-ssl-version
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
| if ( ! function_exists( 'your_site_curl_ssl_v3' ) ) { | |
| add_action( 'http_api_curl', 'your_site_curl_ssl_v3' ); | |
| function your_site_curl_ssl_v3( $handle ) { | |
| curl_setopt($handle, CURLOPT_SSLVERSION, 1); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment