apply_filters( 'https_ssl_verify', bool $ssl_verify , string $url )
Filters whether SSL should be verified for non-local requests.
Parameters
- $ssl_verify
-
(bool) Whether to verify the SSL connection. Default true.
- $url
-
(string) The request URL.
Source
Changelog
Version | Description |
---|---|
5.1.0 | The $url parameter was added. |
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Disabling the SSL verification is a common way to get around the “cURL error 60” issue with wp_remote_get:
Note that this is strongly recommended against for security reasons.