apply_filters( 'https_local_ssl_verify', bool|string $ssl_verify , string $url )
Filters whether SSL should be verified for local HTTP API requests.
Parameters
-
$ssl_verify
bool|string -
Boolean to control whether to verify the SSL connection or path to an SSL certificate.
-
$url
string -
The request URL.
Source
File: wp-includes/class-wp-http-streams.php
.
View all references
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify, $url );
Changelog
Version | Description |
---|---|
5.1.0 | The $url parameter was added. |
2.8.0 | Introduced. |